blob: 6c7eadc4d6c3e109f0e4a6676fc79e2674ba6727 (
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
|
/*@@
@header Symmetry.h
@date Sun 7th Mar 1999
@author Gerd Lanfermann
@desc
The extensions to the GH structure for 3D grid symmetry Treatment
We'll have six int array for every GF, which holds a flag for which symmetry or
(physical) bnd-condition to apply at the grid faces.
* These tables are set by SetSymmetry(GF,int,int,int)
during initialization.
* Default values ?
* The information is used during evolution by Einstein_DoBound(GF),
Einstein_DoSym(GF)
@endhistory
@version
@@*/
#define GFSYM_UNSET -42
#define GFSYM_NOSYM -41
typedef struct Symmetry {
/* Symmetry[0..GF-1][0..dim-1] */
/* in each direction [0,..dim-1], this will hold the symmetry
operation across that plane, iff the grid layout requires this.
this compares to the {sx,sy,sz} of Cactus3.2 */
int **GFSym;
} SymmetryGHex;
|