diff options
-rw-r--r-- | param.ccl | 5 | ||||
-rw-r--r-- | schedule.ccl | 9 |
2 files changed, 11 insertions, 3 deletions
@@ -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) { |