aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/param.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2009-12-02 14:39:51 -0800
committerErik Schnetter <schnetter@cct.lsu.edu>2009-12-02 14:39:51 -0800
commit0776419575b9ca91a6e26eda4226f23bb9ce7128 (patch)
treeb9aaabc7a6099768973855e16b1c30d3727a9a33 /Carpet/Carpet/param.ccl
parent0a7ef8885f42925fb4cf9bde711e20553315fad7 (diff)
Carpet: Allow different numbers of ghost zones on different levels
Allow different numbers of ghost zones and different spatial prolongation orders on different refinement levels.
Diffstat (limited to 'Carpet/Carpet/param.ccl')
-rw-r--r--Carpet/Carpet/param.ccl12
1 files changed, 12 insertions, 0 deletions
diff --git a/Carpet/Carpet/param.ccl b/Carpet/Carpet/param.ccl
index 1c1f7f76f..1cbabcfc0 100644
--- a/Carpet/Carpet/param.ccl
+++ b/Carpet/Carpet/param.ccl
@@ -76,6 +76,12 @@ CCTK_INT ghost_size "Ghost zones in each spatial direction"
-1 :: "use the per-dimension parameters"
} -1
+STRING ghost_sizes "Number of ghost zones for each refinement level"
+{
+ "^$" :: "Use the value of ghost_size or ghost_size_[xyz]"
+ "^[[:space:]]*\[[[:space:]]*[[:digit:]]+[[:space:]]*(,[[:space:]]*[[:digit:]]+[[:space:]]*)*\][[:space:]]*$" :: "[ <ghost_size>, ... ]"
+} ""
+
restricted:
@@ -174,6 +180,12 @@ CCTK_INT prolongation_order_space "Order of prolongation operator in space" STEE
0:* :: "vertex centred orders must be odd"
} 1
+STRING prolongation_orders_space "Order of prolongation operator in space for each refinement level" STEERABLE=recover
+{
+ "^$" :: "Use the value of prolongation_order_space"
+ "^[[:space:]]*\[[[:space:]]*[[:digit:]]+[[:space:]]*(,[[:space:]]*[[:digit:]]+[[:space:]]*)*\][[:space:]]*$" :: "[ <order>, ... ]"
+} ""
+
CCTK_INT prolongation_order_time "Order of prolongation operator in time" STEERABLE=recover
{
0:* :: ""