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