aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/WarpXComm.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-06-13 00:39:20 +0200
committerGravatar GitHub <noreply@github.com> 2023-06-12 15:39:20 -0700
commit2289f4a24e6d0d6a5957f76dd6eed19f129860e6 (patch)
tree7f19698e8033c91fa4c441203a4f8e28513acb2d /Source/Parallelization/WarpXComm.cpp
parentceef66ccd87d9eacdbc18f0ae777f6848e060c7f (diff)
downloadWarpX-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/Parallelization/WarpXComm.cpp')
-rw-r--r--Source/Parallelization/WarpXComm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Parallelization/WarpXComm.cpp b/Source/Parallelization/WarpXComm.cpp
index b5989ea71..538aa888b 100644
--- a/Source/Parallelization/WarpXComm.cpp
+++ b/Source/Parallelization/WarpXComm.cpp
@@ -655,7 +655,7 @@ WarpX::FillBoundaryE_avg (int lev, PatchType patch_type, IntVect ng)
{
if (do_pml && pml[lev]->ok())
{
- amrex::Abort("Averaged Galilean PSATD with PML is not yet implemented");
+ WARPX_ABORT_WITH_MESSAGE("Averaged Galilean PSATD with PML is not yet implemented");
}
const amrex::Periodicity& period = Geom(lev).periodicity();
@@ -675,7 +675,7 @@ WarpX::FillBoundaryE_avg (int lev, PatchType patch_type, IntVect ng)
{
if (do_pml && pml[lev]->ok())
{
- amrex::Abort("Averaged Galilean PSATD with PML is not yet implemented");
+ WARPX_ABORT_WITH_MESSAGE("Averaged Galilean PSATD with PML is not yet implemented");
}
const amrex::Periodicity& cperiod = Geom(lev-1).periodicity();
@@ -709,7 +709,7 @@ WarpX::FillBoundaryB_avg (int lev, PatchType patch_type, IntVect ng)
{
if (do_pml && pml[lev]->ok())
{
- amrex::Abort("Averaged Galilean PSATD with PML is not yet implemented");
+ WARPX_ABORT_WITH_MESSAGE("Averaged Galilean PSATD with PML is not yet implemented");
}
const amrex::Periodicity& period = Geom(lev).periodicity();
if ( safe_guard_cells ) {
@@ -728,7 +728,7 @@ WarpX::FillBoundaryB_avg (int lev, PatchType patch_type, IntVect ng)
{
if (do_pml && pml[lev]->ok())
{
- amrex::Abort("Averaged Galilean PSATD with PML is not yet implemented");
+ WARPX_ABORT_WITH_MESSAGE("Averaged Galilean PSATD with PML is not yet implemented");
}
const amrex::Periodicity& cperiod = Geom(lev-1).periodicity();