summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-06-25 17:21:53 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-06-25 17:21:53 +0000
commit2f1487f14c14ac562608108f9feb6281f6527473 (patch)
tree1fd7dd737d4e861845c62df9657e7f8cf76c866f /src
parentf57835a20bb7d0338fb26380fc7fccd579afc95e (diff)
Total renaming of items on cGH.
Added cctk_from and ctk_to, which will be filled in by drivers to give local physical zone git-svn-id: http://svn.cactuscode.org/flesh/trunk@583 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r--src/include/cGH.h32
1 files changed, 18 insertions, 14 deletions
diff --git a/src/include/cGH.h b/src/include/cGH.h
index 93a3ab18..1d1466ad 100644
--- a/src/include/cGH.h
+++ b/src/include/cGH.h
@@ -21,37 +21,41 @@ typedef struct
typedef struct
{
- int dim;
- int iteration;
+ int cctk_dim;
+ int cctk_iteration;
/* ...[dim]*/
- int *global_shape;
- int *local_shape;
- int *lower_bound;
- int *upper_bound;
+ int *cctk_gsh;
+ int *cctk_lsh;
+ int *cctk_lbnd;
+ int *cctk_ubnd;
+
+ /* The physical domain */
+ int *cctk_from;
+ int *cctk_to;
/* The grid spacings */
- CCTK_REAL delta_time;
- CCTK_REAL *delta_space;
+ CCTK_REAL cctk_delta_time;
+ CCTK_REAL *cctk_delta_space;
/* FIXME we want coordinate registration instead of this */
- CCTK_REAL *origin_space;
+ CCTK_REAL *cctk_origin_space;
/* The bounding box - 1 => a real boundary, 0 => a local grid boundary. */
/* bbox[2*dim] */
- int *bbox;
+ int *cctk_bbox;
/* The refinement factor over the top level (coarsest) grid. */
- int levfac;
+ int *cctk_levfac;
/* The convergence level */
- int convlevel;
+ int cctk_convlevel;
/* The number of ghostzones in each direction */
- int nghostzones;
+ int *cctk_nghostzones;
/* The coordinate time */
- CCTK_REAL time;
+ CCTK_REAL cctk_time;
/* data[var_num][TIMELEVEL][xyz]*/
/* TIMELEVEL I believe, xyz is linear */