aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authorallen <allen@5633253d-7678-4964-a54d-f87795f8ee59>2000-09-12 07:45:27 +0000
committerallen <allen@5633253d-7678-4964-a54d-f87795f8ee59>2000-09-12 07:45:27 +0000
commita69ca9960f5eed7aec267de705a2b8554fe5c450 (patch)
tree912aed46241b5d19430d0a1b6b71f0f430d32abb /param.ccl
parentf8b67d2052a2f2a897341bc25239839efb711006 (diff)
Adding fixed timestep option
Will update documentation.tex later today. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Time/trunk@27 5633253d-7678-4964-a54d-f87795f8ee59
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"