diff options
Diffstat (limited to 'Source/Particles/ElementaryProcess')
3 files changed, 8 insertions, 3 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp b/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp index 9cc9ba25a..249e35f6f 100644 --- a/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp +++ b/Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp @@ -6,6 +6,8 @@ */ #include "BreitWheelerEngineWrapper.H" +#include "Utils/TextMsg.H" + #include <AMReX.H> #include <AMReX_BLassert.H> #include <AMReX_GpuDevice.H> @@ -153,7 +155,7 @@ void BreitWheelerEngine::compute_lookup_tables ( m_lookup_tables_initialized = true; #else amrex::ignore_unused(ctrl, bw_minimum_chi_phot); - amrex::Abort("WarpX was not compiled with table generation support!"); + WARPX_ABORT_WITH_MESSAGE("WarpX was not compiled with table generation support!"); #endif } diff --git a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp index 3bb02f27e..280c1cfd4 100644 --- a/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp +++ b/Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp @@ -6,6 +6,8 @@ */ #include "QuantumSyncEngineWrapper.H" +#include "Utils/TextMsg.H" + #include <AMReX.H> #include <AMReX_BLassert.H> #include <AMReX_GpuDevice.H> @@ -152,7 +154,7 @@ void QuantumSynchrotronEngine::compute_lookup_tables ( m_lookup_tables_initialized = true; #else amrex::ignore_unused(ctrl, qs_minimum_chi_part); - amrex::Abort("WarpX was not compiled with table generation support!"); + WARPX_ABORT_WITH_MESSAGE("WarpX was not compiled with table generation support!"); #endif } diff --git a/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H b/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H index 53f515d06..cab63b967 100644 --- a/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H +++ b/Source/Particles/ElementaryProcess/QEDSchwingerProcess.H @@ -9,6 +9,7 @@ #define QED_SCHWINGER_PROCESS_H_ #include "Particles/ElementaryProcess/QEDInternals/SchwingerProcessWrapper.H" +#include "Utils/TextMsg.H" /** * This structure is a functor which calls getSchwingerProductionNumber to @@ -82,7 +83,7 @@ struct SchwingerTransformFunc for (int n = 0; n < N; ++n){ #if defined(WARPX_DIM_1D_Z) amrex::ignore_unused(dst1, dst2, i_dst1, i_dst2, N, total_weight); - amrex::Abort("SchwingerTransformFunc not implemented in 1D"); + WARPX_ABORT_WITH_MESSAGE("SchwingerTransformFunc not implemented in 1D"); #elif defined(WARPX_DIM_3D) dst1.m_rdata[m_weight_index][i_dst1+n] = total_weight/N; dst2.m_rdata[m_weight_index][i_dst2+n] = total_weight/N; |