diff options
author | goodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-10-07 10:06:32 +0000 |
---|---|---|
committer | goodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2001-10-07 10:06:32 +0000 |
commit | e8cdd90785ee3239b9ba8ffdb974d1b3450f231c (patch) | |
tree | ae70f698996c2451c6505dddb121089c2d69db5c /src/include | |
parent | 21374b8c6a67f5d8ddf11a14a2353b7ee11c0054 (diff) |
Preliminary support for 'vector' Grid Variables (see commits to interface_parser.ccl for
syntax). Works for GFs and GAs, but not implemented yet for GSs.
Please treat this as volatile until it is documented, and let me know if you are using
it.
Tom
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@351 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/pGV.h | 3 | ||||
-rw-r--r-- | src/include/pugh.h | 19 | ||||
-rw-r--r-- | src/include/pughi.h | 9 |
3 files changed, 19 insertions, 12 deletions
diff --git a/src/include/pGV.h b/src/include/pGV.h index 3c5b8bb..fd6edd8 100644 --- a/src/include/pGV.h +++ b/src/include/pGV.h @@ -120,6 +120,9 @@ typedef struct PGA pComm *comm; /* comm buffer for single variable */ pComm *groupcomm; /* comm buffer for a variable group */ + int vector_size; + int vector_entry; + struct PGA *vector_base; } pGA; typedef struct PGV diff --git a/src/include/pugh.h b/src/include/pugh.h index 2b8b527..09deef2 100644 --- a/src/include/pugh.h +++ b/src/include/pugh.h @@ -115,15 +115,16 @@ extern "C" #endif -int PUGH_SetupGroup(pGH *newGH, - int *nsize, - int *nghostsize, - int gtype, - int vtype, - int dim, - int n_variables, - int staggertype, - int n_timelevels); +int PUGH_SetupGroup (pGH *newGH, + int *nsize, + int *nghostsize, + int gtype, + int vtype, + int dim, + int n_variables, + int staggercode, + int n_timelevels, + int vectorgroup); pGH *PUGH_SetupPGH(void *callerid, int dim, diff --git a/src/include/pughi.h b/src/include/pughi.h index 139be29..78aff4b 100644 --- a/src/include/pughi.h +++ b/src/include/pughi.h @@ -116,13 +116,16 @@ int PUGH_SetupPGExtrasStaggering(int dim, pGA *PUGH_SetupGArray(void *parent, pGExtras *extras, pConnectivity *connectivity, - pComm *comm, + pComm *groupcomm, const char *name, int id, - int arrayid, + int arrayid, int varsize, int vtype, - int stagger); + int stagger, + int vector_size, + int vector_entry, + pGA *vector_base); pComm *PUGH_SetupGArrayComm(pGH *pughGH, int dim, |