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/Particles/PhysicalParticleContainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 0c9b7ce69..60a5afbeb 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -375,13 +375,13 @@ PhysicalParticleContainer::BackwardCompatibility () ParmParse pp_species_name(species_name); std::vector backward_strings; if (pp_species_name.queryarr("plot_vars", backward_strings)){ - amrex::Abort(".plot_vars is not supported anymore. " + WARPX_ABORT_WITH_MESSAGE(".plot_vars is not supported anymore. " "Please use the new syntax for diagnostics, see documentation."); } int backward_int; if (pp_species_name.query("plot_species", backward_int)){ - amrex::Abort(".plot_species is not supported anymore. " + WARPX_ABORT_WITH_MESSAGE(".plot_species is not supported anymore. " "Please use the new syntax for diagnostics, see documentation."); } } -- cgit v1.2.3