aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl63
1 files changed, 7 insertions, 56 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 4d543d4..40ecd15 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -1,70 +1,21 @@
-# Schedule definitions for thorn CartGrid3D
+# Schedule definitions for thorn CartGrid2D
# $Header$
STORAGE: coordinates gridspacings
-schedule SymmetryStartup at CCTK_STARTUP
-{
- LANG: C
-} "Register GH Extension for GridSymmetry"
-
-schedule RegisterCartGrid3DCoords at CCTK_WRAGH
+schedule RegisterCartGrid2DCoords at CCTK_WRAGH
{
LANG:C
- OPTIONS: meta
-} "Register coordinates for the Cartesian grid"
+}"register coordinates for the cartesian grid"
-schedule RegisterSymmetryBoundaries in SymmetryRegister
+schedule CartGrid2D_SetRanges at CCTK_BASEGRID before SpatialCoordinates
{
LANG:C
- OPTIONS: meta
-} "Register symmetry boundaries"
+} "Set up ranges for spatial 2D Cartesian coordinates (on all grids)"
-schedule ParamCheck_CartGrid3D at CCTK_PARAMCHECK
-{
- LANG:C
-} "Check coordinates for CartGrid3D"
-if (CCTK_EQUALS (set_coordinate_ranges_on, "all grids"))
-{
- schedule CartGrid3D_SetRanges at CCTK_BASEGRID before SpatialCoordinates
- {
- LANG:C
- } "Set up ranges for spatial 3D Cartesian coordinates (on all grids)"
-}
-else if (CCTK_EQUALS (set_coordinate_ranges_on, "all maps"))
-{
- schedule CartGrid3D_SetRanges at CCTK_BASEGRID before SpatialCoordinates
- {
- LANG:C
- OPTIONS: singlemap
- } "Set up ranges for spatial 3D Cartesian coordinates (on all maps)"
-}
-else if (CCTK_EQUALS (set_coordinate_ranges_on, "first level"))
-{
- schedule CartGrid3D_SetRanges at CCTK_BASEGRID before SpatialCoordinates
- {
- LANG:C
- OPTIONS: level
- } "Set up ranges for spatial 3D Cartesian coordinates (on first level)"
-}
-
-schedule CartGrid3D_SetCoordinates as SpatialCoordinates at CCTK_BASEGRID
+schedule CartGrid2D_SetCoordinates as SpatialCoordinates at CCTK_BASEGRID
{
LANG:C
-} "Set up spatial 3D Cartesian coordinates on the GH"
-
-schedule CartGrid3D_SetCoordinates as SpatialCoordinates at CCTK_POSTREGRIDINITIAL
-{
- LANG: C
-} "Set Coordinates after regridding"
+} "Set up spatial 2D Cartesian coordinates on the GH"
-schedule CartGrid3D_SetCoordinates as SpatialCoordinates at CCTK_POSTREGRID
-{
- LANG: C
-} "Set Coordinates after regridding"
-
-schedule CartGrid3D_ApplyBC in BoundaryConditions
-{
- LANG: C
-} "Apply symmetry boundary conditions"