aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authordiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2006-02-14 21:23:43 +0000
committerdiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2006-02-14 21:23:43 +0000
commit090fc92617abd0751ac4d64974dfd920187f1de4 (patch)
treefd477222fb60c213078eae32f5dff5660dbc3356 /param.ccl
parentdf7c02eb3b05ab5360a62cf9da3c22df8c9c83a6 (diff)
Add new parameters derivatives_zero_y and derivatives_zero_z in order to
ecplictly setting any derivatives in the y- and/or z-direction to zero when simulating 1- or 2-D problems with a 3D code. This avoids issues with errors at roundoff level in the y- and z-directions. Should be used with care and together with the parameter check_grid_sizes to avoid complaints about too small grids in the y- and z-directions. Has only been tested in a few cases. If problems are caused by this commit, please report them immediately. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@59 f69c4107-0314-4c4f-9ad4-17e986b73f4a
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index ff72a06..7518ac7 100644
--- a/param.ccl
+++ b/param.ccl
@@ -48,6 +48,14 @@ STRING vars "List of evolved grid functions that should have dissipation added"
.* :: "Must be a valid list of grid functions"
} ""
+BOOLEAN zero_derivs_y "set all derivatives to 0 in the y-direction"
+{
+} "no"
+
+BOOLEAN zero_derivs_z "set all derivatives to 0 in the z-direction"
+{
+} "no"
+
# 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"
{