aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@c78560ca-4b45-4335-b268-5f3340f3cb52>1999-10-11 16:35:17 +0000
committergoodale <goodale@c78560ca-4b45-4335-b268-5f3340f3cb52>1999-10-11 16:35:17 +0000
commit8d55d8e963bd536e3ff4eb3b9df43c369e8073c8 (patch)
treed5207b63c2c9c4a5c8a8fb8655c2902edc95544e
parent705fdec562d28784e216c4eea7df9ea260a90b05 (diff)
Added symmetry routines to this header file.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@66 c78560ca-4b45-4335-b268-5f3340f3cb52
-rw-r--r--src/Symmetry.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/src/Symmetry.h b/src/Symmetry.h
index 6c7eadc..9d6347e 100644
--- a/src/Symmetry.h
+++ b/src/Symmetry.h
@@ -12,11 +12,14 @@
* Default values ?
* The information is used during evolution by Einstein_DoBound(GF),
Einstein_DoSym(GF)
-
+ @enddesc
+ @history
@endhistory
- @version
+ @version $Header$
@@*/
+#ifndef _SYMMETRY_H_
+#define _SYMMETRY_H_
#define GFSYM_UNSET -42
#define GFSYM_NOSYM -41
@@ -30,3 +33,20 @@ typedef struct Symmetry {
int **GFSym;
} SymmetryGHex;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void SetCartSymmetry(cGH *GH, int *sym, const char *imp_gf);
+
+int CartSymBCGroupI(cGH *GH, int groupnum);
+int CartSymBCVarI(cGH *GH, int varnum);
+int CartSymBCVar(cGH *GH, char *name);
+int CartSymBCGroup(cGH *GH, char *name);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _SYMMETRY_H_ */