blob: 4b3bcdcb6755dd15beee887c1efe84dc0ed78f03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/*@@
@file InitSymBound.c
@date
@author Gabrielle Allen
@desc
Sets the symmetries for Wave Toy
@enddesc
@@*/
#include "cctk.h"
#include "cctk_arguments.h"
#include "cctk_Groups.h"
#include "CactusBase/CartGrid3D/src/Symmetry.h"
/*@@
@routine WaveToyC_InitSymBound
@date
@author Gabrielle Allen
@desc
Sets the symmetries for Wave Toy
@enddesc
@calls
@calledby
@history
@endhistory
@@*/
extern "C" void WaveToyCXX_InitSymBound(CCTK_CARGUMENTS)
{
DECLARE_CCTK_CARGUMENTS
int sym[3];
sym[0] = 1;
sym[1] = 1;
sym[2] = 1;
SetCartSymmetry(cctkGH, sym,"wavetoy::phi");
SetCartSymmetry(cctkGH, sym,"wavetoycxx::phi_new");
USE_CCTK_CARGUMENTS
}
|