aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/SetupGH.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/Carpet/src/SetupGH.cc')
-rw-r--r--Carpet/Carpet/src/SetupGH.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc
index 109c3bcab..5e34fcd30 100644
--- a/Carpet/Carpet/src/SetupGH.cc
+++ b/Carpet/Carpet/src/SetupGH.cc
@@ -1221,6 +1221,8 @@ namespace Carpet {
} else if (domain_from_coordbase) {
+ assert (not CCTK_IsFunctionAliased ("MultiPatch_GetDomainSpecification"));
+
// Ensure that CartGrid3D::type = "coordbase"
ensure_CartGrid3D_type ();
@@ -1235,6 +1237,8 @@ namespace Carpet {
} else {
// Legacy code
+ assert (not CCTK_IsFunctionAliased ("MultiPatch_GetDomainSpecification"));
+
if (max_refinement_levels > 1) {
// Ensure that CartGrid3D::avoid_origin = no
ensure_CartGrid3D_avoid_origin ();