aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-05-01 18:25:01 +0200
committerGravatar GitHub <noreply@github.com> 2023-05-01 09:25:01 -0700
commit1c6f1bf24513b4e56f640eea402fa8223ea1c667 (patch)
tree29967ef551e4632b757f41ac98e10b258692be71 /Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
parenta602c6e60ec8d6b728dfe7fe5e79ec191c906f57 (diff)
downloadWarpX-1c6f1bf24513b4e56f640eea402fa8223ea1c667.tar.gz
WarpX-1c6f1bf24513b4e56f640eea402fa8223ea1c667.tar.zst
WarpX-1c6f1bf24513b4e56f640eea402fa8223ea1c667.zip
Use WARPX_ABORT_WITH_MESSAGE("msg") instead of amrex::Abort(Utils::TextMsg::Err("msg")) (#3879)
* use WARPX_ABORT_WITH_MSG instead of amrex::Abort(Utils::TextMsg::Err(msg)) [WIP] * use WARPX_ABORT_WITH_MESSAGE * fix typo * fix missing parenthesis * remove spaces to prevent automatic text wrapping * remove wrong parenthesis
Diffstat (limited to 'Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp')
-rw-r--r--Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp b/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
index b6cb1da97..fb510b6dd 100644
--- a/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
+++ b/Source/Diagnostics/FlushFormats/FlushFormatSensei.cpp
@@ -102,9 +102,9 @@ FlushFormatSensei::WriteParticles (
{
amrex::ignore_unused(particle_diags);
#ifdef AMREX_USE_SENSEI_INSITU
- amrex::Abort(Utils::TextMsg::Err(
+ WARPX_ABORT_WITH_MESSAGE(
"FlushFormatSensei::WriteParticles : "
"Not yet implemented."
- ));
+ );
#endif
}