aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2022-05-31 02:35:30 +0200
committerGravatar GitHub <noreply@github.com> 2022-05-30 17:35:30 -0700
commitd5f61eafc3de4f15a02edcbb3a7b95abdc774ab7 (patch)
tree0c785e2cc1853b30c33f3c732569a352b50b8bef /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp
parente267ac91316d5c590f3b73af20f4c5c567068e46 (diff)
downloadWarpX-d5f61eafc3de4f15a02edcbb3a7b95abdc774ab7.tar.gz
WarpX-d5f61eafc3de4f15a02edcbb3a7b95abdc774ab7.tar.zst
WarpX-d5f61eafc3de4f15a02edcbb3a7b95abdc774ab7.zip
Use Utils::TextMsg::Err and WARPX_ALWAYS_ASSERT_WITH_MESSAGE in more files (#3117)
* use formatted error messages * fixed bug * fixed bug * fixed bugs * fixed bug
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp')
-rw-r--r--Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp
index 299cb29bf..30cc90549 100644
--- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp
+++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmJLinearInTime.cpp
@@ -430,7 +430,8 @@ void PsatdAlgorithmJLinearInTime::CurrentCorrection (SpectralFieldData& field_da
BL_PROFILE("PsatdAlgorithmJLinearInTime::CurrentCorrection");
amrex::ignore_unused(field_data);
- amrex::Abort("Current correction not implemented for multi-J PSATD algorithm");
+ amrex::Abort(Utils::TextMsg::Err(
+ "Current correction not implemented for multi-J PSATD algorithm"));
}
void
@@ -440,7 +441,8 @@ PsatdAlgorithmJLinearInTime::VayDeposition (SpectralFieldData& field_data)
BL_PROFILE("PsatdAlgorithmJLinearInTime::VayDeposition()");
amrex::ignore_unused(field_data);
- amrex::Abort("Vay deposition not implemented for multi-J PSATD algorithm");
+ amrex::Abort(Utils::TextMsg::Err(
+ "Vay deposition not implemented for multi-J PSATD algorithm"));
}
#endif // WARPX_USE_PSATD