From 090fc92617abd0751ac4d64974dfd920187f1de4 Mon Sep 17 00:00:00 2001 From: diener Date: Tue, 14 Feb 2006 21:23:43 +0000 Subject: 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 --- param.ccl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'param.ccl') 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" { -- cgit v1.2.3