From a69ca9960f5eed7aec267de705a2b8554fe5c450 Mon Sep 17 00:00:00 2001 From: allen Date: Tue, 12 Sep 2000 07:45:27 +0000 Subject: 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 --- param.ccl | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'param.ccl') 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" -- cgit v1.2.3