aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/pGH.h1
-rw-r--r--src/include/pGV.h1
-rw-r--r--src/include/pughi.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/include/pGH.h b/src/include/pGH.h
index d5139d9..8e3cc63 100644
--- a/src/include/pGH.h
+++ b/src/include/pGH.h
@@ -25,6 +25,7 @@ typedef struct PGH
/* Size of the problems */
int nvariables; /* Number of Grid variables */
+ int narrays; /* Number of Grid arrays (inc. timelevels) */
void ***variables; /* Pointers to them */
/* What time level we're on */
diff --git a/src/include/pGV.h b/src/include/pGV.h
index a824b2f..e184874 100644
--- a/src/include/pGV.h
+++ b/src/include/pGV.h
@@ -97,6 +97,7 @@ typedef struct PGA
{
char *name; /* The name of the grid function */
int id; /* My ID number in my GH parent. */
+ int arrayid; /* My ID including timelevels */
void *padddata; /* Storage for the data. */
void *data; /* See the note above. */
int storage; /* Do we have storage or not? */
diff --git a/src/include/pughi.h b/src/include/pughi.h
index ef2eb7d..2971f57 100644
--- a/src/include/pughi.h
+++ b/src/include/pughi.h
@@ -120,6 +120,7 @@ pGA *PUGH_SetupGArray(void *parent,
pComm *comm,
const char *name,
int id,
+ int arrayid,
int varsize,
int vtype,
int stagger);