aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authoryye00 <yye00@c78560ca-4b45-4335-b268-5f3340f3cb52>2008-05-25 19:56:01 +0000
committeryye00 <yye00@c78560ca-4b45-4335-b268-5f3340f3cb52>2008-05-25 19:56:01 +0000
commit59dd64865df3df3f62be4f9e6f89f56cb75597af (patch)
tree0e1e0ca4c0e8124f62e2ddcbcbb55893e587fc5a /schedule.ccl
parent92c5b1c45844bfab148c77f74201e03d5341e560 (diff)
fixing wrong commit
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@242 c78560ca-4b45-4335-b268-5f3340f3cb52
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"