From 2289f4a24e6d0d6a5957f76dd6eed19f129860e6 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Tue, 13 Jun 2023 00:39:20 +0200 Subject: 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 --- Source/Parallelization/WarpXComm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Parallelization/WarpXComm.cpp') 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(); -- cgit v1.2.3