diff options
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/FieldProbe.cpp')
-rw-r--r-- | Source/Diagnostics/ReducedDiags/FieldProbe.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Diagnostics/ReducedDiags/FieldProbe.cpp b/Source/Diagnostics/ReducedDiags/FieldProbe.cpp index 622eb2f33..a0414c0fc 100644 --- a/Source/Diagnostics/ReducedDiags/FieldProbe.cpp +++ b/Source/Diagnostics/ReducedDiags/FieldProbe.cpp @@ -10,6 +10,7 @@ #include "Particles/Gather/FieldGather.H" #include "Utils/IntervalsParser.H" +#include "Utils/TextMsg.H" #include "Utils/WarpXConst.H" #include "Utils/WarpXUtil.H" #include "WarpX.H" @@ -49,7 +50,7 @@ FieldProbe::FieldProbe (std::string rd_name) // RZ coordinate is not working #if (defined WARPX_DIM_RZ) - AMREX_ALWAYS_ASSERT_WITH_MESSAGE(false, + WARPX_ALWAYS_ASSERT_WITH_MESSAGE(false, "FieldProbe reduced diagnostics does not work for RZ coordinate."); #endif @@ -155,7 +156,7 @@ FieldProbe::FieldProbe (std::string rd_name) WarnPriority::low); } - AMREX_ALWAYS_ASSERT_WITH_MESSAGE(interp_order <= WarpX::nox , + WARPX_ALWAYS_ASSERT_WITH_MESSAGE(interp_order <= WarpX::nox , "Field probe interp_order should be less than or equal to algo.particle_shape"); if (ParallelDescriptor::IOProcessor()) { |