diff options
Diffstat (limited to 'Source/Parallelization')
-rw-r--r-- | Source/Parallelization/WarpXComm.cpp | 8 | ||||
-rw-r--r-- | Source/Parallelization/WarpXRegrid.cpp | 3 |
2 files changed, 6 insertions, 5 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(); diff --git a/Source/Parallelization/WarpXRegrid.cpp b/Source/Parallelization/WarpXRegrid.cpp index 16ecd49ce..25eff3045 100644 --- a/Source/Parallelization/WarpXRegrid.cpp +++ b/Source/Parallelization/WarpXRegrid.cpp @@ -14,6 +14,7 @@ #include "Particles/MultiParticleContainer.H" #include "Particles/ParticleBoundaryBuffer.H" #include "Particles/WarpXParticleContainer.H" +#include "Utils/TextMsg.H" #include "Utils/WarpXAlgorithmSelection.H" #include "Utils/WarpXProfilerWrapper.H" @@ -355,7 +356,7 @@ WarpX::RemakeLevel (int lev, Real /*time*/, const BoxArray& ba, const Distributi } else { - amrex::Abort("RemakeLevel: to be implemented"); + WARPX_ABORT_WITH_MESSAGE("RemakeLevel: to be implemented"); } // Re-initialize diagnostic functors that stores pointers to the user-requested fields at level, lev. |