diff options
author | 2023-06-13 00:39:20 +0200 | |
---|---|---|
committer | 2023-06-12 15:39:20 -0700 | |
commit | 2289f4a24e6d0d6a5957f76dd6eed19f129860e6 (patch) | |
tree | 7f19698e8033c91fa4c441203a4f8e28513acb2d /Source/Diagnostics/BoundaryScrapingDiagnostics.cpp | |
parent | ceef66ccd87d9eacdbc18f0ae777f6848e060c7f (diff) | |
download | WarpX-2289f4a24e6d0d6a5957f76dd6eed19f129860e6.tar.gz WarpX-2289f4a24e6d0d6a5957f76dd6eed19f129860e6.tar.zst WarpX-2289f4a24e6d0d6a5957f76dd6eed19f129860e6.zip |
Replace amrex::Abort with WARPX_ABORT_WITH_MESSAGE (#3965)
* replace amrex::Abort with WarpX macros
* use amrex::Abort in a GPU kernel
* use amrex::Abort in a GPU kernel
* use amrex::Abort in a GPU kernel
* use amrex::Abort in a GPU kernel
* use amrex::Abort in a GPU kernel
* use amrex::Abort in a GPU kernel
* adding back missing include
* use amrex::Abort in a GPU kernel
* use amrex::Abort in a GPU kernel
* use amrex::Abort in a GPU kernel
* bump precision
Diffstat (limited to 'Source/Diagnostics/BoundaryScrapingDiagnostics.cpp')
-rw-r--r-- | Source/Diagnostics/BoundaryScrapingDiagnostics.cpp | 3 |
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 |