summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-10-18 11:40:46 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-10-18 11:40:46 +0000
commita3c378bfe7cbd7d51bd64ab5adc56686214ac1d3 (patch)
tree4869f7de598aa47064505b37cfefcc91782377fe
parent57177baff41c49aff5911b0610708bda550f79b0 (diff)
Splitting internal and general functions
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1060 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--src/include/cctk_Groups.h9
-rw-r--r--src/include/cctki_Groups.h44
2 files changed, 44 insertions, 9 deletions
diff --git a/src/include/cctk_Groups.h b/src/include/cctk_Groups.h
index 66c8fb7d..e726ae32 100644
--- a/src/include/cctk_Groups.h
+++ b/src/include/cctk_Groups.h
@@ -17,15 +17,6 @@
extern "C" {
#endif
-int CCTKi_CreateGroup(const char *gname, const char *thorn, const char *imp,
- const char *gtype,
- const char *vtype,
- const char *gscope,
- int dimension,
- int ntimelevels,
- int n_variables,
- ...);
-
int CCTK_GroupIndex(const char *groupname);
int CCTK_VarIndex(const char *variablename);
diff --git a/src/include/cctki_Groups.h b/src/include/cctki_Groups.h
new file mode 100644
index 00000000..30ff0cab
--- /dev/null
+++ b/src/include/cctki_Groups.h
@@ -0,0 +1,44 @@
+ /*@@
+ @header cctki_Groups.h
+ @date Mon Feb 8 14:47:10 1999
+ @author Tom Goodale
+ @desc
+ Prototypes and constants for internal group functions.
+ @enddesc
+ @version $Header$
+ @@*/
+
+#ifndef _CCTKI_GROUPS_H_
+#define _CCTKI_GROUPS_H_
+
+/* Prototypes */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int CCTKi_CreateGroup(const char *gname, const char *thorn, const char *imp,
+ const char *gtype,
+ const char *vtype,
+ const char *gscope,
+ int dimension,
+ int ntimelevels,
+ int n_variables,
+ ...);
+
+#ifdef __cplusplus
+}
+#endif
+
+
+/* Group Types */
+
+#define GROUP_SCALAR 1
+#define GROUP_GF 2
+#define GROUP_ARRAY 3
+
+#define GROUP_PRIVATE 1
+#define GROUP_PROTECTED 2
+#define GROUP_PUBLIC 3
+
+#endif