diff options
author | diener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a> | 2005-06-10 17:05:11 +0000 |
---|---|---|
committer | diener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a> | 2005-06-10 17:05:11 +0000 |
commit | e08a6676391c01d9dce81e260c783f24c043c1d6 (patch) | |
tree | 7062ff531687de688de323518ca687028ec48a8f | |
parent | 98e04bec9c09636b34d4a34793d0295a4a456863 (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
-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) { |