diff options
author | eschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2012-07-04 01:29:14 +0000 |
---|---|---|
committer | eschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2012-07-04 01:29:14 +0000 |
commit | c438704e6d1d796f42f78cd57917c60bd0e951fe (patch) | |
tree | 7444e4b0b01dbb171683e6197fd00e66b47e85b4 /src/SetupGroup.c | |
parent | decf9c65e304089e6bc0c0c32dc5998ae6329b6b (diff) |
Introduce cctk_ash, retire cctk_lssh
Introduce cctk_ash, describing the process-local array shape that has
been allocated. This may be larger than cctk_lsh, the process-local
shape that should be used.
Retire cctk_lssh and related infrastructure to handle staggered grid
functions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@515 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/SetupGroup.c')
-rw-r--r-- | src/SetupGroup.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/SetupGroup.c b/src/SetupGroup.c index bd00fd6..1a9c24c 100644 --- a/src/SetupGroup.c +++ b/src/SetupGroup.c @@ -33,7 +33,6 @@ static int PUGH_SetupGAGroup (pGH *newGH, int dim, int n_variables, int vectorlength, - int staggercode, int n_timelevels); @@ -85,11 +84,6 @@ static int PUGH_SetupGAGroup (pGH *newGH, @vtype int @vio in @endvar - @var staggercode - @vdesc stagger code for variables in this group - @vtype int - @vio in - @endvar @var n_timelevels @vdesc number of timelevels in this group @vtype int @@ -110,7 +104,6 @@ static int PUGH_SetupGAGroup (pGH *newGH, int dim, int n_variables, int vectorlength, - int staggercode, int n_timelevels) { int i; @@ -158,7 +151,7 @@ static int PUGH_SetupGAGroup (pGH *newGH, connectivity = PUGH_SetupConnectivity (dim, newGH->nprocs, nsize, ghostsize, nprocs, perme); - extras = PUGH_SetupPGExtras (0, dim, perme, staggercode, nsize, ghostsize, + extras = PUGH_SetupPGExtras (0, dim, perme, nsize, ghostsize, newGH->nprocs, connectivity->nprocs, connectivity->neighbours, newGH->myproc); @@ -219,7 +212,6 @@ static int PUGH_SetupGAGroup (pGH *newGH, newGH->narrays, var_size, vtype, - staggercode, vectorlength, variable%vectorlength, variable%vectorlength > 0 ? newGH->variables[newGH->nvariables - variable%vectorlength][level] : NULL); @@ -292,11 +284,6 @@ static int PUGH_SetupGAGroup (pGH *newGH, @vtype int @vio in @endvar - @var staggercode - @vdesc stagger code for variables in this group - @vtype int - @vio in - @endvar @var n_timelevels @vdesc number of timelevels in this group @vtype int @@ -322,7 +309,6 @@ int PUGH_SetupGroup (pGH *newGH, int dim, int n_variables, int vectorlength, - int staggercode, int n_timelevels, int vectorgroup) { @@ -331,7 +317,7 @@ int PUGH_SetupGroup (pGH *newGH, (void) (vectorgroup + 0); retval = PUGH_SetupGAGroup (newGH, nsize, nghostsize, gtype, vtype, dim, - n_variables, vectorlength, staggercode, + n_variables, vectorlength, n_timelevels); return (retval); |