aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authordiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2005-06-10 17:05:11 +0000
committerdiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2005-06-10 17:05:11 +0000
commite08a6676391c01d9dce81e260c783f24c043c1d6 (patch)
tree7062ff531687de688de323518ca687028ec48a8f /schedule.ccl
parent98e04bec9c09636b34d4a34793d0295a4a456863 (diff)
Added a boolean parameter "check_grid_sizes" to turn off checking of grid sizes
and ghost zones. This is useful for Burkhard, when he wants to use the operators in lower dimensional cases. It could be done in a more selective way, so the checks were done where it makes sense, but this will have to do for now. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@37 f69c4107-0314-4c4f-9ad4-17e986b73f4a
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl9
1 files changed, 6 insertions, 3 deletions
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)
{