aboutsummaryrefslogtreecommitdiff
path: root/src/InitSymBound.F
diff options
context:
space:
mode:
Diffstat (limited to 'src/InitSymBound.F')
-rw-r--r--src/InitSymBound.F41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/InitSymBound.F b/src/InitSymBound.F
new file mode 100644
index 0000000..8f1dd64
--- /dev/null
+++ b/src/InitSymBound.F
@@ -0,0 +1,41 @@
+ /*@@
+ @file InitSymBound.F
+ @date
+ @author Gabrielle Allen
+ @desc
+ Sets the symmetries for Wave Toy
+ @enddesc
+ @@*/
+
+#include "cctk.h"
+#include "cctk_arguments.h"
+
+ /*@@
+ @routine WaveToyF90_InitSymBound
+ @date
+ @author Gabrielle Allen
+ @desc
+ Sets the symmetries for Wave Toy
+ @enddesc
+ @calls
+ @calledby
+ @history
+
+ @endhistory
+
+@@*/
+
+ subroutine WaveToyF90_InitSymBound(CCTK_FARGUMENTS)
+
+ implicit none
+
+ DECLARE_CCTK_FARGUMENTS
+
+ INTEGER, DIMENSION(3) :: sym = 1
+
+ call SetCartSymmetry(cctkGH, sym, 'wavetoy::phi')
+
+ return
+
+ end subroutine WaveToyF90_InitSymbound
+