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
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*@@
@file InitSymBound.F
@date May 13 1999
@author Gabrielle Allen
@desc
Sets the symmetries for the Constraint grid functions
@enddesc
@@*/
#include "cctk.h"
#include "cctk_Arguments.h"
/*@@
@routine InitSymBound
@date May 13 1999
@author Gabrielle Allen
@desc
Sets the symmetries for the Constraint grid functions
@enddesc
@calls
@calledby
@history
@endhistory
@@*/
subroutine ADMConstraint_InitSymBound(CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
INTEGER, PARAMETER :: one = 1
INTEGER, DIMENSION(3) :: sym
INTEGER :: ierr
c GROUP: constraints
sym(1) = one
sym(2) = one
sym(3) = one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::ham')
sym(1) = -one
sym(2) = one
sym(3) = one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::momx')
sym(1) = one
sym(2) = -one
sym(3) = one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::momy')
sym(1) = one
sym(2) = one
sym(3) = -one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::momz')
return
end subroutine ADMConstraint_InitSymbound
|