diff options
author | 2022-05-17 09:58:22 +0200 | |
---|---|---|
committer | 2022-05-17 09:58:22 +0200 | |
commit | 724a0e061274d4eac5daed409933fe073899eda7 (patch) | |
tree | a41e84351288e83242ae897fcbb44356d7dc6f9d /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp | |
parent | 8581ed36ae2b9c4ad8fb983a3f299c9167611ab7 (diff) | |
download | WarpX-724a0e061274d4eac5daed409933fe073899eda7.tar.gz WarpX-724a0e061274d4eac5daed409933fe073899eda7.tar.zst WarpX-724a0e061274d4eac5daed409933fe073899eda7.zip |
Use uniform error message formatting in more source files (#2964)
* use WARPX_ALWAYS_ASSERT_WITH_MESSAGE instead of Abort()
* fix bug
* Update Source/WarpX.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* use more uniform text formatting
* fixed bug
* fixed bug
* using Utils::TextMsg in more files
* fixed bug
* use Utils::TextMsg in more files
* fixed bug
* use Utils::TextMsg in more files
* fixed last merge conflict
* fixed bug
* fix indentation
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp index 81674f396..be850e252 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PsatdAlgorithmGalileanRZ.cpp @@ -5,6 +5,8 @@ * License: BSD-3-Clause-LBNL */ #include "PsatdAlgorithmGalileanRZ.H" + +#include "Utils/TextMsg.H" #include "Utils/WarpXConst.H" #include "Utils/WarpXProfilerWrapper.H" #include "WarpX.H" @@ -362,5 +364,6 @@ PsatdAlgorithmGalileanRZ::CurrentCorrection (SpectralFieldDataRZ& field_data) void PsatdAlgorithmGalileanRZ::VayDeposition (SpectralFieldDataRZ& /*field_data*/) { - amrex::Abort("Vay deposition not implemented in RZ geometry"); + amrex::Abort(Utils::TextMsg::Err( + "Vay deposition not implemented in RZ geometry")); } |