aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl29
1 files changed, 19 insertions, 10 deletions
diff --git a/param.ccl b/param.ccl
index 317be03..79ce823 100644
--- a/param.ccl
+++ b/param.ccl
@@ -3,18 +3,9 @@
restricted:
-REAL dtfac "The standard timestep condition dt = dtfac*max(delta_space)"
-{
- 0:* :: "Probably only makes sense to be bigger than zero"
-} 0.5
-
-REAL courant_fac "The courant timestep condition dt = courant_fac*max(delta_space)/speed/sqrt(dim)"
-{
- 0:* :: "Probably only makes sense to be bigger than zero"
-} 0.9
-
KEYWORD courant_method "Method for calculating timestep"
{
+ "none" :: "Use given timestep"
"standard" :: "Courant condition at BASEGRID"
"courant" :: "Courant condition at PRESTEP (using wavespeed)"
"courant_time" :: "Courant condition at PRESTEP (using min time)"
@@ -24,6 +15,24 @@ BOOLEAN courant_outonly "Only output courant timestep?"
{
} "no"
+
+private:
+
+REAL timestep "Absolute value for timestep"
+{
+ *:* :: "Could be anything"
+} 0.0
+
+REAL dtfac "The standard timestep condition dt = dtfac*max(delta_space)"
+{
+ 0:* :: "Probably only makes sense to be bigger than zero"
+} 0.5
+
+REAL courant_fac "The courant timestep condition dt = courant_fac*max(delta_space)/speed/sqrt(dim)"
+{
+ 0:* :: "Probably only makes sense to be bigger than zero"
+} 0.9
+
INT outcourant_every "How often to output courant timestep"
{
0:* :: "Zero means no output"