aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess/QEDInternals
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/ElementaryProcess/QEDInternals')
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/BreitWheelerEngineWrapper.cpp4
-rw-r--r--Source/Particles/ElementaryProcess/QEDInternals/QuantumSyncEngineWrapper.cpp4
2 files changed, 6 insertions, 2 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
}