diff options
author | 2022-03-08 18:38:25 +0100 | |
---|---|---|
committer | 2022-03-08 09:38:25 -0800 | |
commit | 0a64c2b8a42d766e5a893fcab2d4573b33cca74f (patch) | |
tree | 16f5979ff152251fc443f2e5ee67f929d6534228 /Source/Utils/CoarsenMR.cpp | |
parent | 7425721ccced342615c054ea8147fbdc484d6620 (diff) | |
download | WarpX-0a64c2b8a42d766e5a893fcab2d4573b33cca74f.tar.gz WarpX-0a64c2b8a42d766e5a893fcab2d4573b33cca74f.tar.zst WarpX-0a64c2b8a42d766e5a893fcab2d4573b33cca74f.zip |
Make error and info messages visually uniform (#2939)
* initial work to add msg formatter
* wip
* replace AMREX_ALWAYS_ASSERT_WITH_MESSAGE with WarpX equivalent
Diffstat (limited to 'Source/Utils/CoarsenMR.cpp')
-rw-r--r-- | Source/Utils/CoarsenMR.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Utils/CoarsenMR.cpp b/Source/Utils/CoarsenMR.cpp index 9ed1edb4a..549ff6ea2 100644 --- a/Source/Utils/CoarsenMR.cpp +++ b/Source/Utils/CoarsenMR.cpp @@ -1,5 +1,7 @@ #include "CoarsenMR.H" +#include "Utils/TextMsg.H" + #include <AMReX_BLProfiler.H> #include <AMReX_BLassert.H> #include <AMReX_BoxArray.H> @@ -91,7 +93,7 @@ CoarsenMR::Coarsen ( MultiFab& mf_dst, { BL_PROFILE("CoarsenMR::Coarsen()"); - AMREX_ALWAYS_ASSERT_WITH_MESSAGE( mf_src.ixType() == mf_dst.ixType(), + WARPX_ALWAYS_ASSERT_WITH_MESSAGE( mf_src.ixType() == mf_dst.ixType(), "source MultiFab and destination MultiFab have different IndexType" ); // Number of guard cells to fill on coarse patch and number of components |