aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/LaserParticleContainer.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/Particles/LaserParticleContainer.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/Particles/LaserParticleContainer.cpp')
-rw-r--r--Source/Particles/LaserParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Particles/LaserParticleContainer.cpp b/Source/Particles/LaserParticleContainer.cpp
index fbf61d579..8221683c1 100644
--- a/Source/Particles/LaserParticleContainer.cpp
+++ b/Source/Particles/LaserParticleContainer.cpp
@@ -158,7 +158,7 @@ LaserParticleContainer::LaserParticleContainer (AmrCore* amr_core, int ispecies,
//Check if profile exists
if(laser_profiles_dictionary.count(laser_type_s) == 0 ){
- amrex::Abort(std::string("Unknown laser type: ").append(laser_type_s));
+ WARPX_ABORT_WITH_MESSAGE(std::string("Unknown laser type: ").append(laser_type_s));
}
m_up_laser_profile = laser_profiles_dictionary.at(laser_type_s)();
//__________