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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
/*@@
@file InitSymBound.F
@date May 13 1999
@author Gabrielle Allen
@desc
Sets the symmetries for the Constraint grid functions
@enddesc
@version $Header$
@@*/
#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 one
PARAMETER (one=1)
INTEGER sym(3)
INTEGER ierr
sym(1) = one
sym(2) = one
sym(3) = one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::ham')
if (ierr .lt. 0) then
call CCTK_WARN(0,"Error setting symmetries for ADMConstraints::ham")
end if
sym(1) = one
sym(2) = one
sym(3) = one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::hamnormalized')
if (ierr .lt. 0) then
call CCTK_WARN(0,"Error setting symmetries for ADMConstraints::hamnormalized")
end if
sym(1) = -one
sym(2) = one
sym(3) = one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::momx')
if (ierr .lt. 0) then
call CCTK_WARN(0,"Error setting symmetries for ADMConstraints::momx")
end if
sym(1) = one
sym(2) = -one
sym(3) = one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::momy')
if (ierr .lt. 0) then
call CCTK_WARN(0,"Error setting symmetries for ADMConstraints::momy")
end if
sym(1) = one
sym(2) = one
sym(3) = -one
call SetCartSymVN(ierr, cctkGH, sym, 'admconstraints::momz')
if (ierr .lt. 0) then
call CCTK_WARN(0,"Error setting symmetries for ADMConstraints::momz")
end if
return
end
|