aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl11
1 files changed, 11 insertions, 0 deletions
diff --git a/param.ccl b/param.ccl
index 0bf2bcc..0aeae83 100644
--- a/param.ccl
+++ b/param.ccl
@@ -86,12 +86,14 @@ KEYWORD ODE_Method "The ODE method use by MoL to do time integration"
"ICN" :: "Iterative Crank Nicholson"
"ICN-avg" :: "Iterative Crank Nicholson with averaging"
"RK2" :: "Efficient RK2"
+ "RK3" :: "Efficient RK3"
} "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"
+ "Table" :: "Given from the generic method descriptor parameter"
} "RK"
CCTK_INT MoL_Intermediate_Steps "Number of intermediate steps taken by the ODE method"
@@ -111,3 +113,12 @@ CCTK_REAL MoL_Tiny "Effective local machine zero; required by generic solvers"
BOOLEAN initial_data_is_crap "If the initial data routine fails to set up the previous time levels, copy the current backwards"
{
} "no"
+
+# The default for this parameter corresponds to generic RK2
+STRING Generic_Method_Descriptor "A string used to create a table containing the description of the generic method"
+{
+ ".*" :: "Should contain the Alpha and Beta arrays, and the number of intermediate steps"
+} "GenericIntermediateSteps = 2 \
+ GenericAlphaCoeffs = { 1.0 0.0 0.5 0.5 } \
+ GenericBetaCoeffs = { 1.0 0.5 }"
+