aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Diagnostics/BoundaryScrapingDiagnostics.cpp')
-rw-r--r--Source/Diagnostics/BoundaryScrapingDiagnostics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp b/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
index 792413d98..cdcc7df65 100644
--- a/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
+++ b/Source/Diagnostics/BoundaryScrapingDiagnostics.cpp
@@ -10,6 +10,7 @@
#include "Diagnostics/Diagnostics.H"
#include "Diagnostics/FlushFormats/FlushFormat.H"
#include "Particles/ParticleBoundaryBuffer.H"
+#include "Utils/TextMsg.H"
#include "WarpX.H"
#include <AMReX.H>
@@ -46,7 +47,7 @@ BoundaryScrapingDiagnostics::ReadParameters ()
// Do a few checks
#ifndef WARPX_USE_OPENPMD
- amrex::Abort("You need to compile WarpX with openPMD support, in order to use BoundaryScrapingDiagnostic: -DWarpX_OPENPMD=ON");
+ WARPX_ABORT_WITH_MESSAGE("You need to compile WarpX with openPMD support, in order to use BoundaryScrapingDiagnostic: -DWarpX_OPENPMD=ON");
#endif
// Check that the output format is openPMD