aboutsummaryrefslogtreecommitdiff
path: root/src/SetupGroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/SetupGroup.c')
-rw-r--r--src/SetupGroup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SetupGroup.c b/src/SetupGroup.c
index 4290f5b..bdeed52 100644
--- a/src/SetupGroup.c
+++ b/src/SetupGroup.c
@@ -19,7 +19,7 @@
static char *rcisd = "$Header$";
-pGF *SetupPGF(pGH *GH, const char *name, int dim);
+pGF *SetupPGF(pGH *GH, const char *name, int dim, int varsize);
/*@@
@routine pugh_SetupGroup
@@ -35,7 +35,7 @@ pGF *SetupPGF(pGH *GH, const char *name, int dim);
@endhistory
@@*/
-int pugh_SetupGroup(pGH *newGH, int gtype, int vtype, int dim, int n_variables)
+int pugh_SetupGroup(pGH *newGH, int gtype, int vtype, int dim, int n_variables, int var_size)
{
int returncode;
switch(gtype)
@@ -148,7 +148,7 @@ int pugh_SetupGFGroup(pGH *newGH, int vtype, int dim, int n_variables)
for(variable = 0; variable < n_variables; variable++)
{
- newGH->variables[newGH->nvariables] = SetupPGF(newGH, CCTK_GetVarName(n_variables), dim);
+ newGH->variables[newGH->nvariables] = SetupPGF(newGH, CCTK_GetVarName(n_variables), dim, var_size);
}
}