diff options
author | tradke <tradke@c78560ca-4b45-4335-b268-5f3340f3cb52> | 2005-01-03 17:35:40 +0000 |
---|---|---|
committer | tradke <tradke@c78560ca-4b45-4335-b268-5f3340f3cb52> | 2005-01-03 17:35:40 +0000 |
commit | c7e8a0a9112c2c71a9fac3f94d910472c154df3c (patch) | |
tree | 426fa92f47d769b0f3e483f358746b855cb74fb7 /schedule.ccl | |
parent | a39c4afe82555d31d1222090357add3378cf8d3a (diff) |
Fixed the set up for coordinate system tables which should be done only once
(on the coarsest refinement level).
Split CartGrid3D() into two level-mode routines:
* CartGrid3D_SetRanges() sets up the coordinate ranges from parameters.
This is only done once (on the coarsest refinement level).
* CartGrid3D_SetCoordinates() sets up the coordinate grid functions
(for all levels, both in BASEGRID and REGRID).
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@213 c78560ca-4b45-4335-b268-5f3340f3cb52
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/schedule.ccl b/schedule.ccl index 87a34ce..116d910 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -24,7 +24,12 @@ schedule ParamCheck_CartGrid3D at CCTK_PARAMCHECK LANG:C } "Check coordinates for CartGrid3D" -schedule CartGrid3D as SpatialCoordinates at CCTK_BASEGRID +schedule CartGrid3D_SetRanges at CCTK_BASEGRID before SpatialCoordinates +{ + LANG:C +} "Set up ranges for spatial 3D Cartesian coordinates" + +schedule CartGrid3D_SetCoordinates as SpatialCoordinates at CCTK_BASEGRID { LANG:C } "Set up spatial 3D Cartesian coordinates on the GH" |