aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl53
1 files changed, 53 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
new file mode 100644
index 0000000..755b870
--- /dev/null
+++ b/param.ccl
@@ -0,0 +1,53 @@
+# Parameter definitions for thorn MoL2
+# $Header$
+
+restricted:
+
+CCTK_INT MoL_Num_Evolved_Vars "The maximum number of variables to be evolved by MoL" ACCUMULATOR = (x+y)
+{
+ (0:* :: "Anything non negative. Added to by other thorns."
+} 1
+
+CCTK_INT MoL_Num_Constrained_Vars "The maximum number of constrained variables with timelevels that MoL needs to know about" ACCUMULATOR = (x+y)
+{
+ (0:* :: "Anything non negative. Added to by other thorns."
+} 1
+
+CCTK_INT MoL_Num_SaveAndRestore_Vars "The maximum number of variables to be evolved outside of MoL but that MoL needs to know about" ACCUMULATOR = (x+y)
+{
+ (0:* :: "Anything non negative. Added to by other thorns."
+} 1
+
+CCTK_INT MoL_Num_Scratch_Levels "Number of scratch levels required by the ODE method"
+{
+ 0:* :: "Anything non negative"
+} 0
+
+private:
+
+KEYWORD MoL_ODE_Method "The ODE method use by MoL to do time integration"
+{
+ "Generic" :: "Generic Shu-Osher Runga-Kutta type"
+ "ICN" :: "Iterative Crank Nicholson"
+ "RK2" :: "Efficient RK2"
+} "ICN"
+
+KEYWORD Generic_Type "If using the generic method, which sort"
+{
+ "RK" :: "One of the standard TVD Runga-Kutta methods"
+ "ICN" :: "Iterative Crank Nicholson as a generic method"
+} "RK"
+
+CCTK_INT MoL_Intermediate_Steps "Number of intermediate steps taken by the ODE method"
+{
+ 1:* :: "Anything greater than 1"
+} 3
+
+BOOLEAN MoL_Memory_Always_On "Do we keep the scratch arrays allocated all the time?"
+{
+} "yes"
+
+CCTK_REAL MoL_Tiny "Effective local machine zero; required by generic solvers"
+{
+ 0:* :: "Defaults to 1.e-15"
+} 1.e-15