summaryrefslogtreecommitdiff
path: root/src/main/Groups.c
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-02-17 16:01:48 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-02-17 16:01:48 +0000
commit3e0bcab1dbe95fcde20e558116629787f78ac373 (patch)
tree113197813b629ea20ed0d0039545cd31439ceda1 /src/main/Groups.c
parent9c09ece00db7035929540022025087a00faecbea (diff)
Changes to get timelevels working.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@302 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/Groups.c')
-rw-r--r--src/main/Groups.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/main/Groups.c b/src/main/Groups.c
index eaaea032..b5317126 100644
--- a/src/main/Groups.c
+++ b/src/main/Groups.c
@@ -402,7 +402,7 @@ int *CCTK_ArrayGroupSize(cGH *GH, const char *group, int dim)
}
/*@@
- @routine CCTK_
+ @routine CCTK_QueryGroupStorage
@date
@author Tom Goodale
@desc
@@ -515,7 +515,12 @@ int CCTK_VTypeNumber(const char *type)
@endhistory
@@*/
-int CCTK_GetGroupData(int group, int *gtype, int *vtype, int *dim, int *n_variables)
+int CCTK_GetGroupData(int group,
+ int *gtype,
+ int *vtype,
+ int *dim,
+ int *n_variables,
+ int *n_timelevels)
{
int return_code;
@@ -525,6 +530,7 @@ int CCTK_GetGroupData(int group, int *gtype, int *vtype, int *dim, int *n_variab
*vtype = groups[group].vtype;
*dim = groups[group].dim;
*n_variables = groups[group].n_variables;
+ *n_timelevels = groups[group].n_timelevels;
return_code = 1;
}