From c438704e6d1d796f42f78cd57917c60bd0e951fe Mon Sep 17 00:00:00 2001 From: eschnett Date: Wed, 4 Jul 2012 01:29:14 +0000 Subject: 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 --- src/SetupGroup.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'src/SetupGroup.c') 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); -- cgit v1.2.3