aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--param.ccl5
-rw-r--r--schedule.ccl9
2 files changed, 11 insertions, 3 deletions
diff --git a/param.ccl b/param.ccl
index ebbe4d4..f3f6821 100644
--- a/param.ccl
+++ b/param.ccl
@@ -36,3 +36,8 @@ STRING vars "List of evolved grid functions that should have dissipation added"
{
.* :: "Must be a valid list of grid functions"
} ""
+
+# If you use this parameter be careful. You have to know what you are doing...
+BOOLEAN check_grid_sizes "Should we check grid sizes and ghost zones"
+{
+} "yes"
diff --git a/schedule.ccl b/schedule.ccl
index a791912..d1c6225 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -9,10 +9,13 @@ SCHEDULE SBP_SetNormMask AT initial
LANG: Fortran
} "Setup the mask for the calulcation of the norm"
-SCHEDULE SBP_CheckGridSizes AT postinitial
+if (check_grid_sizes)
{
- LANG: Fortran
-} "Check grid sizes and ghost zones"
+ SCHEDULE SBP_CheckGridSizes AT postinitial
+ {
+ LANG: Fortran
+ } "Check grid sizes and ghost zones"
+}
if (use_dissipation)
{