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 --- schedule.ccl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'schedule.ccl') diff --git a/schedule.ccl b/schedule.ccl index 84b646f..2399f7f 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -8,8 +8,7 @@ if (CCTK_Equals(courant_method,"standard")) LANG: C } "Set timestep based on Courant condition" } - -if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant_time")) +else if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant_time")) { schedule Time_Simple at CCTK_BASEGRID after SpatialCoordinates { @@ -21,6 +20,12 @@ if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant LANG: C } "Reset timestep each iteration" } - +else +{ + schedule Time_Given at CCTK_BASEGRID + { + LANG: C + } "Set fixed timestep" +} -- cgit v1.2.3