diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-06-17 14:13:34 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-06-17 14:13:34 +0000 |
commit | b58cac0c9e065d18b3327a23e34598eae1174be3 (patch) | |
tree | 42c537e28be10601be4d24bfb1aef6d2d701451f /src/include/cGH.h | |
parent | dec737ce7bd9d840dd8d37ed8e09dca1d2efa7b7 (diff) |
cGH.h: Add three new fields cctk_timefac, cctk_levoff, and
cctk_levoffdenom to the cGH structure that simplify handling
coordinates in mesh refinement settings.
cctk.h: Pass the new fields to Fortran routines. Add a new macro
CCTK_ORIGIN_SPACE to simplify using these fields.
CactusDefaultComm.c: Initialise the new fields.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3240 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cGH.h')
-rw-r--r-- | src/include/cGH.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/cGH.h b/src/include/cGH.h index f8a4a68c..0fa98a9c 100644 --- a/src/include/cGH.h +++ b/src/include/cGH.h @@ -53,6 +53,13 @@ typedef struct /* The refinement factor over the top level (coarsest) grid. */ int *cctk_levfac; + /* Offset between this level's and the coarsest level's origin */ + int *cctk_levoff; + int *cctk_levoffdenom; + + /* The refinement factor in time over the top level (coarsest) grid. */ + int cctk_timefac; + /* The convergence level (numbered from zero upwards) */ int cctk_convlevel; |