diff options
author | 2023-06-13 00:39:20 +0200 | |
---|---|---|
committer | 2023-06-12 15:39:20 -0700 | |
commit | 2289f4a24e6d0d6a5957f76dd6eed19f129860e6 (patch) | |
tree | 7f19698e8033c91fa4c441203a4f8e28513acb2d /Source/Utils/Interpolate.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/Utils/Interpolate.cpp')
-rw-r--r-- | Source/Utils/Interpolate.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Utils/Interpolate.cpp b/Source/Utils/Interpolate.cpp index 9d20e7485..67781fae6 100644 --- a/Source/Utils/Interpolate.cpp +++ b/Source/Utils/Interpolate.cpp @@ -1,6 +1,8 @@ #include "Interpolate.H" #include "Interpolate_K.H" +#include "Utils/TextMsg.H" + #include <AMReX.H> #include <AMReX_Array4.H> #include <AMReX_BCRec.H> @@ -53,7 +55,7 @@ namespace Interpolate node_bilinear_interp.interp(cfab, 0, ffab, 0, 1, finebx, refinement_vector, {}, {}, {}, 0, 0, RunOn::Device); } else { - amrex::Abort("Unknown field staggering."); + WARPX_ABORT_WITH_MESSAGE("Unknown field staggering."); } // Add temporary array to the returned structure |