We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f87dde1 commit a08380bCopy full SHA for a08380b
Source/ablastr/mesh_refinement/coarsen.H
@@ -59,9 +59,9 @@ namespace ablastr::mesh_refinement
59
{
60
using namespace amrex::literals;
61
62
- AMREX_ASSERT(sf[0] == sc[0]);
63
- AMREX_ASSERT(sf[1] == sc[1]);
64
- AMREX_ASSERT(sf[2] == sc[2]);
+ AMREX_ASSERT_WITH_MESSAGE(sf[0] == sc[0], "Interp: Staggering for component 0 does not match!");
+ AMREX_ASSERT_WITH_MESSAGE(sf[1] == sc[1], "Interp: Staggering for component 1 does not match!");
+ AMREX_ASSERT_WITH_MESSAGE(sf[2] == sc[2], "Interp: Staggering for component 2 does not match!");
65
66
// Indices of destination array (coarse)
67
int const ic[3] = {i, j, k};
0 commit comments