aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/WrapFFTW.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/WrapFFTW.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/WrapFFTW.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FieldSolver/SpectralSolver/WrapFFTW.cpp b/Source/FieldSolver/SpectralSolver/WrapFFTW.cpp
index 8159e53c3..df330c4f6 100644
--- a/Source/FieldSolver/SpectralSolver/WrapFFTW.cpp
+++ b/Source/FieldSolver/SpectralSolver/WrapFFTW.cpp
@@ -54,8 +54,8 @@ namespace AnyFFT
fft_plan.m_plan = VendorCreatePlanR2C2D(
real_size[1], real_size[0], real_array, complex_array, FFTW_ESTIMATE);
} else {
- amrex::Abort(Utils::TextMsg::Err(
- "only dim=2 and dim=3 have been implemented"));
+ WARPX_ABORT_WITH_MESSAGE(
+ "only dim=2 and dim=3 have been implemented");
}
} else if (dir == direction::C2R){
if (dim == 3) {
@@ -65,8 +65,8 @@ namespace AnyFFT
fft_plan.m_plan = VendorCreatePlanC2R2D(
real_size[1], real_size[0], complex_array, real_array, FFTW_ESTIMATE);
} else {
- amrex::Abort(Utils::TextMsg::Err(
- "only dim=2 and dim=3 have been implemented. Should be easy to add dim=1."));
+ WARPX_ABORT_WITH_MESSAGE(
+ "only dim=2 and dim=3 have been implemented. Should be easy to add dim=1.");
}
}