aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPml.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPml.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPml.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPml.cpp
index 217998d18..b8bdfdbed 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPml.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmPml.cpp
@@ -405,15 +405,15 @@ void PsatdAlgorithmPml::InitializeSpectralCoefficients (
void
PsatdAlgorithmPml::CurrentCorrection (SpectralFieldData& /*field_data*/)
{
- amrex::Abort(Utils::TextMsg::Err(
- "Current correction not implemented for PML PSATD"));
+ WARPX_ABORT_WITH_MESSAGE(
+ "Current correction not implemented for PML PSATD");
}
void
PsatdAlgorithmPml::VayDeposition (SpectralFieldData& /*field_data*/)
{
- amrex::Abort(Utils::TextMsg::Err(
- "Vay deposition not implemented for PML PSATD"));
+ WARPX_ABORT_WITH_MESSAGE(
+ "Vay deposition not implemented for PML PSATD");
}
#endif // WARPX_USE_PSATD