summaryrefslogtreecommitdiff
path: root/src/include/cctk_GroupsOnGH.h
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-07-17 07:13:31 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-07-17 07:13:31 +0000
commit44c67e56a46bc3445036e9e2372f5c14aaaa6fcd (patch)
treecb228577657f1300a20e2b2a62cbbf6b3888801a /src/include/cctk_GroupsOnGH.h
parentbdbbd3727aec5525707fb5556646a29f7309294c (diff)
New functions for querying the number of active timelevels for a group/variable
int CCTK_ActiveTimeLevels(const cGH *GH, const char *groupname); int CCTK_ActiveTimeLevelsGN(const cGH *GH, const char *groupname); int CCTK_ActiveTimeLevelsGI(const cGH *GH, int groupindex); int CCTK_ActiveTimeLevelsVN(const cGH *GH, const char *varname); int CCTK_ActiveTimeLevelsVI(const cGH *GH, int varindex); All are basically wrappers for CCTK_GroupStorageIncrease requesting no increase of storage. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3283 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_GroupsOnGH.h')
-rw-r--r--src/include/cctk_GroupsOnGH.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/cctk_GroupsOnGH.h b/src/include/cctk_GroupsOnGH.h
index fb4f3ce8..8b5bc99d 100644
--- a/src/include/cctk_GroupsOnGH.h
+++ b/src/include/cctk_GroupsOnGH.h
@@ -67,6 +67,12 @@ int CCTK_GroupnghostzonesVN(const cGH *GH, int dim, int *nghostzones, const char
int CCTK_GroupnghostzonesGI(const cGH *GH, int dim, int *nghostzones, int groupindex);
int CCTK_GroupnghostzonesVI(const cGH *GH, int dim, int *nghostzones, int varindex);
+int CCTK_ActiveTimeLevels(const cGH *GH, const char *groupname);
+int CCTK_ActiveTimeLevelsGN(const cGH *GH, const char *groupname);
+int CCTK_ActiveTimeLevelsGI(const cGH *GH, int groupindex);
+int CCTK_ActiveTimeLevelsVN(const cGH *GH, const char *varname);
+int CCTK_ActiveTimeLevelsVI(const cGH *GH, int varindex);
+
#ifdef __cplusplus
}
#endif