From d6938dc131dbb2cecb17f810320d5f76873a5c75 Mon Sep 17 00:00:00 2001 From: allen Date: Tue, 10 Jul 2001 10:33:24 +0000 Subject: The condition for terminating the Cactus main evolution has changed slightly, and will affect people using PUGH (or the default Cactus evolution routine) *and* terminating by setting the parameters cctk_initial_time and cctk_final_time There is now a keyword parameter, Cactus::terminate which can be set either to: iteration (the default): terminate when cctk_itlast is reached time: if cctk_initial_time < cctk_final_time terminate when time >= cctk_final_time if cctk_initial_time > cctk_final_time terminate when time <= cctk_final_time either: terminate when either of the above conditions are true both: terminate when both of the above conditions are true never: ignore iteration and time for termination The reason for making this change is to support a negative timestep. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2273 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/param.ccl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/param.ccl') diff --git a/src/param.ccl b/src/param.ccl index 610cbb21..a69099da 100644 --- a/src/param.ccl +++ b/src/param.ccl @@ -59,6 +59,15 @@ BOOLEAN terminate_next "Terminate on next iteration?" STEERABLE=ALWAYS { } "no" +KEYWORD terminate "Condition on which to terminate evolution loop" STEERABLE=ALWAYS +{ + "never" :: "Never terminate" + "iteration" :: "Take termination condition from iteration number" + "time" :: "Take termination condition from coordinate time" + "either" :: "Take termination condition from either iteration number or coordinate time" + "both" :: "Take termination condition from both iteration number and coordinate time" +} "iteration" + REAL cctk_initial_time "Initial time for evolution" { : :: "Anything" -- cgit v1.2.3