From 1636f53b32fdfc44fc2289acc842e0347343a1c7 Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Mon, 4 Jun 2012 12:51:35 -0700 Subject: 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 --- Carpet/CarpetLib/param.ccl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Carpet/CarpetLib/param.ccl') 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 -- cgit v1.2.3