aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2005-11-17 20:00:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2005-11-17 20:00:00 +0000
commited7736ed5ab3bbf387fb4ed4aae85a2e12c23973 (patch)
treeeed7701c093082b3ff886aadbbef3ea2da9e3e9e /Carpet/CarpetRegrid
parent8b17d7d5a12fb7680a4b89a955e0adb921237176 (diff)
CarpetRegrid: Explain the parameters gridpoints, coordinates, and outerbounds.
darcs-hash:20051117200040-dae7b-47c4cead494170bd96ca4a2a1f43093d6dd73f27.gz
Diffstat (limited to 'Carpet/CarpetRegrid')
-rw-r--r--Carpet/CarpetRegrid/param.ccl69
1 files changed, 69 insertions, 0 deletions
diff --git a/Carpet/CarpetRegrid/param.ccl b/Carpet/CarpetRegrid/param.ccl
index e20404554..278b9abce 100644
--- a/Carpet/CarpetRegrid/param.ccl
+++ b/Carpet/CarpetRegrid/param.ccl
@@ -301,6 +301,28 @@ CCTK_REAL l3zmax "Upper boundary of level 3 box in z-direction" STEERABLE=always
CCTK_STRING gridpoints "List of bounding box gridpoints" STEERABLE=always
{
+# We want the string to contain a list of bboxes. Each bbox contains
+# three vectors specifying the lower bound, upper bound, and stride.
+# (The upper bound is inclusive. All values are nonnegative integers.)
+# The syntax for vectors, bboxes, and lists is described below.
+# All spaces are optional.
+
+# Almost human readable explanation follows.
+# The specification is hierarchical.
+
+# The following definitions are generic:
+# VECT2(x) := "[ x, x ]"
+# two x, separated by commas, enclosed in square brackets
+# VECT3(x) := "[ x, x, x ]"
+# three x, separated by commas, enclosed in square brackets
+# LIST(x) := "[ {{ x, }* x}? ]"
+# zero or more x, separated by commas, enclosed in square brackets
+
+# A domain is built up as follows:
+# REGION := VECT3(VECT2(double))
+# REFLEVEL := LIST(REGION)
+# DOMAIN := LIST(REFLEVEL)
+
"^$" :: "leave empty for no refinement"
".*" :: "[ [ ([<imin>,<jmin>,<kmin>]:[<imax>,<jmax>,<kmax>]:[<istride>,<jstride>,<kstride>]), ... ], ... ]"
} ""
@@ -311,6 +333,28 @@ CCTK_STRING gridpoints "List of bounding box gridpoints" STEERABLE=always
CCTK_STRING coordinates "List of bounding box coordinates" STEERABLE=always
{
+# We want the string to contain a list of bboxes. Each bbox contains
+# three vectors specifying the lower bound, upper bound, and stride.
+# (The upper bound is inclusive. All values are nonnegative integers.)
+# The syntax for vectors, bboxes, and lists is described below.
+# All spaces are optional.
+
+# Almost human readable explanation follows.
+# The specification is hierarchical.
+
+# The following definitions are generic:
+# VECT2(x) := "[ x, x ]"
+# two x, separated by commas, enclosed in square brackets
+# VECT3(x) := "[ x, x, x ]"
+# three x, separated by commas, enclosed in square brackets
+# LIST(x) := "[ {{ x, }* x}? ]"
+# zero or more x, separated by commas, enclosed in square brackets
+
+# A domain is built up as follows:
+# REGION := VECT3(VECT2(double))
+# REFLEVEL := LIST(REGION)
+# DOMAIN := LIST(REFLEVEL)
+
"^$" :: "leave empty for no refinement"
".*" :: "[ [ ([<xmin>,<ymin>,<zmin>]:[<xmax>,<ymax>,<zmax>]:[<xstride>,<ystride>,<zstride>]), ... ], ... ]"
} ""
@@ -353,6 +397,31 @@ PRIVATE:
CCTK_STRING outerbounds "Outer boundaries" STEERABLE=always
{
"^$" :: "leave empty for no outer boundaries"
+
+# Each vector element is 0 or 1,
+# where 0 is handled by synchronisation or prolongation,
+# and 1 stands for a user-supplied ("outer") boundary condition.
+
+# BND := " [ 0 , 0 ]"
+# VECT := " [ BND , BND , BND ]"
+# LIST := " [{{VECT ,}*VECT}? ]"
+
+# Almost human readable explanation follows.
+# The specification is hierarchical.
+
+# The following definitions are generic:
+# VECT2(x) := "[ x, x ]"
+# two x, separated by commas, enclosed in square brackets
+# VECT3(x) := "[ x, x, x ]"
+# three x, separated by commas, enclosed in square brackets
+# LIST(x) := "[ {{ x, }* x}? ]"
+# zero or more x, separated by commas, enclosed in square brackets
+
+# A domain is built up as follows:
+# REGION := VECT3(VECT2(double))
+# REFLEVEL := LIST(REGION)
+# DOMAIN := LIST(REFLEVEL)
+
".*" :: "[ [ [[?,?],[?,?],[?,?]], ... ], ...]"
} ""