diff options
author | allen <allen@5633253d-7678-4964-a54d-f87795f8ee59> | 1999-10-20 12:35:03 +0000 |
---|---|---|
committer | allen <allen@5633253d-7678-4964-a54d-f87795f8ee59> | 1999-10-20 12:35:03 +0000 |
commit | d4bc19f0cb1a24b71a92cef8b03de4020b6e1f5c (patch) | |
tree | 59afac067d2d0ee21b19a863e37729080e37b431 /param.ccl | |
parent | adee3e97c377b390fe318d0d8b888b96db8554b3 (diff) |
Courant condition implemented for timestep, as described in documentation.
This hasn't been very well tested yet.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Time/trunk@11 5633253d-7678-4964-a54d-f87795f8ee59
Diffstat (limited to 'param.ccl')
-rw-r--r-- | param.ccl | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -8,3 +8,23 @@ 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" +{ + "standard" :: "Courant condition at BASEGRID" + "courant" :: "Courant condition at PRESTEP (using wavespeed)" + "courant_time" :: "Courant condition at PRESTEP (using min time)" +} "standard" + +BOOLEAN courant_outonly "Only output courant timestep?" +{ +} "no" + +INT outcourant_every "How often to output courant timestep" +{ + 0:* :: "Zero means no output" +} 0
\ No newline at end of file |