aboutsummaryrefslogtreecommitdiff
path: root/src/InitSymBound.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/InitSymBound.c')
-rw-r--r--src/InitSymBound.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/InitSymBound.c b/src/InitSymBound.c
new file mode 100644
index 0000000..d075e9a
--- /dev/null
+++ b/src/InitSymBound.c
@@ -0,0 +1,40 @@
+ /*@@
+ @file InitSymBound.c
+ @date
+ @author Gabrielle Allen
+ @desc
+ Sets the symmetries for Wave Toy
+ @enddesc
+ @@*/
+
+#include "cctk.h"
+#include "cctk_arguments.h"
+
+ /*@@
+ @routine WaveToyC_InitSymBound
+ @date
+ @author Gabrielle Allen
+ @desc
+ Sets the symmetries for Wave Toy
+ @enddesc
+ @calls
+ @calledby
+ @history
+
+ @endhistory
+
+@@*/
+
+void WaveToyC_InitSymBound(CCTK_CARGUMENTS)
+{
+ DECLARE_CCTK_CARGUMENTS
+
+ int sym[3];
+
+ sym[0] = 1;
+ sym[1] = 1;
+ sym[2] = 1;
+
+ SetCartSymmetry(cctkGH, sym,"wavetoy::phi");
+
+} \ No newline at end of file