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 ParamChecker.F
@date March 1999
@author Gabrielle Allen
@desc
Check parameters for black hole initial data and give some
information
@enddesc
@@*/
#include "cctk.h"
#include "cctk_arguments.h"
#include "cctk_parameters.h"
#include "CactusEinstein/Einstein/src/Einstein.h"
/*@@
@routine ParamChecker
@date March 1999
@author Gabrielle Allen
@desc
Check parameters for black hole initial data and give some
information
@enddesc
@calls
@history
@endhistory
@@*/
subroutine ParamChecker(CCTK_FARGUMENTS)
implicit none
DECLARE_CCTK_FARGUMENTS
DECLARE_CCTK_PARAMETERS
integer CCTK_Equals
if (CCTK_Equals(initial_data,"schwarzschild") == 1) then
write(*,*) 'One Black Hole: Throat at :',mass/2d0
else if (CCTK_Equals(initial_data,"bl") == 1) then
write(*,*) "Setting up Brill Lindquist Solution"
write(*,*) " Number of black holes (bl_nbh) :",bl_nbh
write(*,*) " Black hole masses (bl_M_?) :",bl_M_1,bl_M_2,
& bl_M_3,bl_M_4
else if (CCTK_Equals(initial_data,"multiple_misner") == 1) then
write(*,*) "Setting up Misner solution for multiple holes"
else if (CCTK_Equals(initial_data,"misner")==1) then
write(*,*) "Setting up Misner solution for two holes"
write(*,*) " mu = ",mu
end if
c Remind users about the conformal metric
c ---------------------------------------
if (use_conformal == 1) then
write(*,*) "Implements conformal metric"
if (use_conformal_derivs == 1) then
write(*,*) " ... and conformal derivatives"
else
write(*,*) " ... but no conformal derivatives"
end if
else
write(*,*) "Implements non-conformal metric"
write(*,*) " (Not usually a good idea!)"
end if
return
end
|