aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/param.ccl
diff options
context:
space:
mode:
authorRoland Haas <roland.haas@physics.gatech.edu>2012-06-04 12:51:35 -0700
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:22 +0100
commit1636f53b32fdfc44fc2289acc842e0347343a1c7 (patch)
treee25525db07000d2fe040fbf3f0fa14aa7589db39 /Carpet/CarpetLib/param.ccl
parent37f6677d699278935fcb93d9c5d6f7b67b17db70 (diff)
CarpetLib: clean up higher order restriciton some
* rename controlling parameter to use_higher_order_restriction * introduce parameter restriction_order_space to control which operator is used (currently order 1 and 3 are suppoted) * include some comments on what the operator does * change the way the restrictable region is computed in dh.cc/regrid to be based on exterior.shrink(stencil_width) rather that the interior
Diffstat (limited to 'Carpet/CarpetLib/param.ccl')
-rw-r--r--Carpet/CarpetLib/param.ccl8
1 files changed, 7 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl
index b0a825171..a259fff2d 100644
--- a/Carpet/CarpetLib/param.ccl
+++ b/Carpet/CarpetLib/param.ccl
@@ -33,10 +33,16 @@ BOOLEAN use_dgfe "Use DGFE operators instead of Lagrange operators"
-BOOLEAN use_cc_o3 "Use third order cell centered restriction operators instead of first order"
+BOOLEAN use_higher_order_restriction "Use third order cell centered restriction operators instead of first order"
{
} "no"
+INT restriction_order_space "Order of restriction operator to use with use_higher_order_restriction"
+{
+ 1 :: "linear interpolation, this is Carpet's original implementation"
+ 3 :: "third order accurate restriction for grid functions where prolongation is not (W)ENO"
+} 3
+
BOOLEAN output_bboxes "Output bounding box information to the screen" STEERABLE=always