diff options
author | allen <allen@5633253d-7678-4964-a54d-f87795f8ee59> | 2000-09-12 07:45:27 +0000 |
---|---|---|
committer | allen <allen@5633253d-7678-4964-a54d-f87795f8ee59> | 2000-09-12 07:45:27 +0000 |
commit | a69ca9960f5eed7aec267de705a2b8554fe5c450 (patch) | |
tree | 912aed46241b5d19430d0a1b6b71f0f430d32abb /param.ccl | |
parent | f8b67d2052a2f2a897341bc25239839efb711006 (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.ccl | 29 |
1 files changed, 19 insertions, 10 deletions
@@ -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" |