ETS  \$Id: Doxyfile 2162 2020-02-26 14:16:09Z g2dpc $
 All Classes Files Functions Variables Pages
helena_initialization.f90
Go to the documentation of this file.
2 !-----------------------------------------------------------------------
3 ! subroutine to initialize the namelist input variables
4 !-----------------------------------------------------------------------
5 
6  use itm_types
7  use mod_parameter
8  use mod_corners
9  use mod_dat
10  use mod_dete
11  use mod_gauss
12  use mod_map
13  use mod_mesh
14  use mod_meshacc
15  use mod_output
16  use mod_profiles
17 
18  implicit none
19 
20  hbt = .false.
21 
22  input_type = "p' and FF'"
23  radial_coordinate = "psi"
24  current_averaging = "line"
25  match = "psi_bound"
26  output = "equilibrium"
27 
28  rs(1, 1) = -1._r8
29  rs(1, 2) = -1._r8
30  rs(2, 1) = -1._r8
31  rs(2, 2) = +1._r8
32  rs(3, 1) = +1._r8
33  rs(3, 2) = +1._r8
34  rs(4, 1) = +1._r8
35  rs(4, 2) = -1._r8
36  ij(1, 1) = 0
37  ij(1, 2) = 0
38  ij(2, 1) = 1
39  ij(2, 2) = 0
40  ij(3, 1) = 0
41  ij(3, 2) = 1
42  ij(4, 1) = 1
43  ij(4, 2) = 1
44  xgauss(1) = -0.861136311594053_r8
45  xgauss(2) = -0.339981043584856_r8
46  xgauss(3) = 0.339981043584856_r8
47  xgauss(4) = 0.861136311594053_r8
48  wgauss(1) = 0.347854845137454_r8
49  wgauss(2) = 0.652145154862546_r8
50  wgauss(3) = 0.652145154862546_r8
51  wgauss(4) = 0.347854845137454_r8
52 
53  ias = 0
54  ellip = 1.0_r8
55  tria = 0.0_r8
56  quad = 0.0_r8
57  par1 = 0.0_r8
58  par2 = 0.0_r8
59  par3 = 1.0_r8
60  par4 = 0.0_r8
61  mfm = 256
62  imesh = 0
63  amesh = 0._r8
64  bmesh = 0._r8
65  isol = 0
66  iarc = 0
67  n_acc_points = 2
68  equidistant = 1._r8
69 
70  allocate(s_acc(2))
71  allocate(sig(2))
72  allocate(weights(2))
73  s_acc(1) = 0.5_r8
74  sig(1) = 2._r8
75  weights(1) = 1._r8
76  s_acc(2) = 1._r8
77  sig(2) = 0.2_r8
78  weights(2) = 1._r8
79 
80  eps = 0.1_r8
81  alfa = 0._r8
82  ip = 0._r8
83  q95 = 0._r8
84  betap = 0._r8
85  wmhd = 0._r8
86  b = 0._r8
87  amix = 0._r8
88  bmix = 0._r8
89 
90  nr = 51
91  np = 65
92  nrmap = 101
93  npmap = 65
94  nchi = 128
95  niter = 100
96  nmesh = 20
97  nouter = 1
98 
99  verbosity = 1
100  nbb = 4
101  abb = 1._r8
102  bbb = 1._r8
103  ampl = 1._r8
104  diagnostics_on = .false.
105  eqdsk_file = .false.
106  vec_file = .false.
107  standard_output = .false.
108  elite_output = .false.
109  profiles_output = .true.
110  additional_output = .false.
111  xmgrace_output = .true.
112  errcur = 1.e-5_r8
113  errit = 1.e-8_r8
114 
115  ne%shape = 0
116  ne%h = 1._r8
117  ne%h_0 = 0.1_r8
118  ne%slope = 0.1_r8
119  ne%psi_m = 1.0_r8
120  ne%delta = 0.1_r8
121  ne%psi_0 = 0.0_r8
122  ne%alpha = (/ 0.0_r8, 1.0_r8, 0.0_r8/)
123  ne%fac = 1._r8
124 
125  te%shape = 0
126  te%h = 1._r8
127  te%h_0 = 0.1_r8
128  te%slope = 0.1_r8
129  te%psi_m = 1.0_r8
130  te%delta = 0.1_r8
131  te%psi_0 = 0.0_r8
132  te%alpha = (/ 0.0_r8, 1.0_r8, 0.0_r8/)
133  te%fac = 1000._r8
134 
135  edgelabe = 99.0_r8
136 
137  rvac = 1.0_r8
138  bvac = 1.0_r8
139  zeff = 1.0_r8
140  zn0 = 1.0_r8
141  rpe = 0.5_r8
142  etaei = 1.0_r8
143 
144  return
145 
146 end subroutine helena_initialization
subroutine helena_initialization
subroutine output(NGRID, betpol, zli3)
Definition: Eq2_m.f:1