# Schedule definitions for thorn Time # $Header$ if (CCTK_Equals(timestep_method,"courant_static")) { schedule Time_Simple at CCTK_BASEGRID after SpatialCoordinates { LANG: C } "Set timestep based on Courant condition" } else if (CCTK_Equals(timestep_method,"courant_speed") || CCTK_Equals(timestep_method,"courant_time")) { schedule Time_Simple at CCTK_BASEGRID after SpatialCoordinates { LANG: C } "Set timestep based on Courant condition" schedule Time_Courant at CCTK_PRESTEP { LANG: C } "Reset timestep each iteration" } else { schedule Time_Given at CCTK_BASEGRID { LANG: C } "Set fixed timestep" }