aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/CoarsenMR.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Utils/CoarsenMR.cpp')
-rw-r--r--Source/Utils/CoarsenMR.cpp4
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