aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/FieldMomentum.cpp')
-rw-r--r--Source/Diagnostics/ReducedDiags/FieldMomentum.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp b/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp
index 8ae51b0e6..a30655991 100644
--- a/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp
+++ b/Source/Diagnostics/ReducedDiags/FieldMomentum.cpp
@@ -43,8 +43,8 @@ FieldMomentum::FieldMomentum (std::string rd_name)
{
// RZ coordinate is not working
#if (defined WARPX_DIM_RZ)
- amrex::Abort(Utils::TextMsg::Err(
- "FieldMomentum reduced diagnostics not implemented in RZ geometry"));
+ WARPX_ABORT_WITH_MESSAGE(
+ "FieldMomentum reduced diagnostics not implemented in RZ geometry");
#endif
// Read number of levels