OSHUN
beta
Arbitrary Order Spherical-Harmonic 1D-3P Vlasov-Fokker-Planck-Maxwell code
input.h
Go to the documentation of this file.
1
11
#ifndef DECL_IMPORT_H
12
#define DECL_IMPORT_H
13
14
15
16
//**************************************************************
17
//--------------------------------------------------------------
18
namespace
Input
{
19
//**************************************************************
20
//--------------------------------------------------------------
21
class
Input_List
{
22
public
:
23
Input_List
();
24
25
//--------------------------------------------------------------
26
// declaration of input list variables (input deck)
27
//--------------------------------------------------------------
28
bool
isthisarestart
;
29
30
size_t
NnodesX
;
31
32
size_t
numsp
;
33
34
size_t
l0
,
m0
,
nump
,
Nx
;
35
double
xmin
,
xmax
;
36
37
38
std::vector< double >
pmax
;
39
double
clf_dp
;
40
41
42
// Algorithms
43
bool
if_tridiagonal
;
44
bool
implicit_E
;
45
bool
implicit_B
;
46
bool
collisions
;
47
int
f00_implicitorexplicit
;
48
bool
flm_collisions
;
49
50
int
BoundaryCells
;
51
int
bndX
;
52
size_t
n_outsteps
,
n_distoutsteps
;
53
double
t_stop
;
54
int
restart_time
;
int
n_restarts
;
55
56
// Output
57
bool
o_EHist
;
58
bool
o_Ex
,
o_Ey
,
o_Ez
,
o_Bx
,
o_By
,
o_Bz
,
o_x1x2
,
o_pth
,
o_p2p1x1
,
o_p1p2p3
;
59
bool
o_G
,
o_Px
,
o_PxPx
,
o_Py
,
o_PxPy
,
o_PyPy
,
o_Pz
,
o_PxPz
,
o_PyPz
,
o_PzPz
;
60
bool
o_Vx
,
o_VxVx
,
o_Vy
,
o_VxVy
,
o_VyVy
,
o_VxVz
,
o_VyVz
,
o_VzVz
;
61
bool
o_Vsq
,
o_Qx
,
o_Qy
,
o_Qz
;
62
bool
o_vNx
,
o_vNy
,
o_vNz
;
63
bool
o_Jx
,
o_Jy
,
o_Jz
;
64
bool
o_Pressure
,
o_Temperature
,
o_ND
,
o_Nu
,
o_p1x1
,
o_f0x1
,
o_f10x1
,
o_f11x1
,
65
o_f20x1
,
o_fl0x1
;
66
bool
o_Ux
,
o_Uy
,
o_Uz
,
o_Z
,
o_ni
,
o_Ti
;
67
bool
only_output
;
68
size_t
numpx
,
nump1
,
nump2
,
nump3
;
69
70
// Electron-ion collisions
71
double
lnLambda
,
density_np
;
72
73
// Electron-electron collisions
74
size_t
RB_D_itmax
;
75
double
RB_D_tolerance
;
76
double
small_dt
;
77
double
smaller_dt
;
78
int
NB_algorithms
;
79
80
81
// Hydro parameters
82
bool
hydromotion
;
83
double
hydromass
,
hydrocharge
;
84
85
int
polarization_direction
;
86
87
bool
init_f1
,
init_f2
;
88
89
bool
MX_cooling
;
90
91
double
super_gaussian_m
;
92
93
94
95
96
double
pth_ref
;
97
98
// ----------------------------------------------------------------------
99
// ----------------------------------------------------------------------
101
102
std::vector<std::string>
dens_profile_str
;
103
std::vector<std::string>
temp_profile_str
;
104
std::vector<std::string>
f10x_profile_str
;
105
std::vector<std::string>
f20x_profile_str
;
106
std::vector<std::string>
f_pedestal
;
107
108
std::string
hydro_dens_profile_str
;
109
std::string
hydro_temp_profile_str
;
110
std::string
hydro_vel_profile_str
;
111
std::string
hydro_Z_profile_str
;
112
113
114
// ----------------------------------------------------------------------
116
//
117
bool
ext_fields
,
trav_wave
;
118
int
num_waves
;
119
bool
IB_heating
;
120
double
I_0
,
lambda_0
;
121
122
std::string
intensity_profile_str
;
123
std::string
intensity_time_profile_str
;
124
std::string
ex_time_profile_str
;
125
std::string
ey_time_profile_str
;
126
std::string
ez_time_profile_str
;
127
std::string
bx_time_profile_str
;
128
std::string
by_time_profile_str
;
129
std::string
bz_time_profile_str
;
130
131
std::string
ex_profile_str
;
132
std::string
ey_profile_str
;
133
std::string
ez_profile_str
;
134
std::string
bx_profile_str
;
135
std::string
by_profile_str
;
136
std::string
bz_profile_str
;
137
138
std::vector< std::string >
ex_wave_profile_str
;
139
std::vector< std::string >
ey_wave_profile_str
;
140
std::vector< std::string >
ez_wave_profile_str
;
141
std::vector< std::string >
bx_wave_profile_str
;
142
std::vector< std::string >
by_wave_profile_str
;
143
std::vector< std::string >
bz_wave_profile_str
;
144
std::vector< std::string >
wave_time_envelope_str
;
145
std::vector< double >
trav_wave_rise
;
146
std::vector< double >
trav_wave_flat
;
147
std::vector< double >
trav_wave_fall
;
148
std::vector< double >
trav_wave_center
;
149
150
// ----------------------------------------------------------------------
151
// ----------------------------------------------------------------------
152
153
std::vector< std::string >
oTags
;
154
std::vector<double>
qs
;
155
std::vector<double>
mass
;
156
std::vector<size_t>
ls
;
157
std::vector<size_t>
ms
;
158
std::vector<size_t>
ps
;
159
std::vector<double>
pth
;
160
161
std::vector<size_t>
Npx
;
162
std::vector<size_t>
Npy
;
163
std::vector<size_t>
Npz
;
164
165
166
std::vector<size_t>
NxGlobal
;
167
std::vector<size_t>
NxLocalnobnd
;
168
std::vector<size_t>
NxLocal
;
169
170
std::vector<double>
xminGlobal
;
171
std::vector<double>
xmaxGlobal
;
172
std::vector<double>
xminLocal
;
173
std::vector<double>
xmaxLocal
;
174
std::vector<double>
globdx
;
175
176
};
177
178
//--------------------------------------------------------------
179
Input_List
&
List
();
180
181
}
182
//--------------------------------------------------------------
183
//**************************************************************
184
185
#endif
Input::Input_List::intensity_profile_str
std::string intensity_profile_str
Definition:
input.h:122
Input::Input_List::o_ni
bool o_ni
Definition:
input.h:66
Input::Input_List::clf_dp
double clf_dp
Definition:
input.h:39
Input::Input_List::Npx
std::vector< size_t > Npx
Definition:
input.h:161
Input::Input_List::xmaxLocal
std::vector< double > xmaxLocal
Definition:
input.h:173
Input::Input_List::ez_wave_profile_str
std::vector< std::string > ez_wave_profile_str
Definition:
input.h:140
Input::Input_List::wave_time_envelope_str
std::vector< std::string > wave_time_envelope_str
Definition:
input.h:144
Input::Input_List::o_Px
bool o_Px
Definition:
input.h:59
Input::Input_List::o_Temperature
bool o_Temperature
Definition:
input.h:64
Input::Input_List::NxLocal
std::vector< size_t > NxLocal
Definition:
input.h:168
Input::Input_List::bz_wave_profile_str
std::vector< std::string > bz_wave_profile_str
Definition:
input.h:143
Input::Input_List::smaller_dt
double smaller_dt
Definition:
input.h:77
Input::Input_List::bx_time_profile_str
std::string bx_time_profile_str
Definition:
input.h:127
Input::Input_List::o_Bx
bool o_Bx
Definition:
input.h:58
Input::Input_List::n_outsteps
size_t n_outsteps
Definition:
input.h:52
Input::Input_List::trav_wave_center
std::vector< double > trav_wave_center
Definition:
input.h:148
Input::Input_List::hydro_dens_profile_str
std::string hydro_dens_profile_str
Definition:
input.h:108
Input::Input_List::MX_cooling
bool MX_cooling
Definition:
input.h:89
Input::Input_List::xmax
double xmax
Definition:
input.h:35
Input::Input_List::bz_profile_str
std::string bz_profile_str
Definition:
input.h:136
Input::Input_List::flm_collisions
bool flm_collisions
Definition:
input.h:48
Input::Input_List::nump2
size_t nump2
Definition:
input.h:68
Input::Input_List::o_VzVz
bool o_VzVz
Definition:
input.h:60
Input::Input_List::by_profile_str
std::string by_profile_str
Definition:
input.h:135
Input::Input_List::bndX
int bndX
Definition:
input.h:51
Input::Input_List::o_Z
bool o_Z
Definition:
input.h:66
Input::Input_List::o_PyPz
bool o_PyPz
Definition:
input.h:59
Input::Input_List::o_VyVz
bool o_VyVz
Definition:
input.h:60
Input::Input_List::ex_time_profile_str
std::string ex_time_profile_str
Definition:
input.h:124
Input::Input_List::o_VxVz
bool o_VxVz
Definition:
input.h:60
Input::Input_List::hydromotion
bool hydromotion
Definition:
input.h:82
Input::Input_List::implicit_B
bool implicit_B
Definition:
input.h:45
Input::Input_List::isthisarestart
bool isthisarestart
Definition:
input.h:28
Input::Input_List::ex_profile_str
std::string ex_profile_str
Definition:
input.h:131
Input::Input_List::lnLambda
double lnLambda
Definition:
input.h:71
Input::Input_List::o_Qz
bool o_Qz
Definition:
input.h:61
Input::Input_List::o_PzPz
bool o_PzPz
Definition:
input.h:59
Input::Input_List::t_stop
double t_stop
Definition:
input.h:53
Input::Input_List::xminLocal
std::vector< double > xminLocal
Definition:
input.h:172
Input::Input_List::ex_wave_profile_str
std::vector< std::string > ex_wave_profile_str
Definition:
input.h:138
Input::Input_List::ps
std::vector< size_t > ps
Definition:
input.h:158
Input::Input_List::o_Ex
bool o_Ex
Definition:
input.h:58
Input::Input_List::trav_wave_rise
std::vector< double > trav_wave_rise
Definition:
input.h:145
Input::Input_List::o_Vx
bool o_Vx
Definition:
input.h:60
Input::Input_List::o_Jx
bool o_Jx
Definition:
input.h:63
Input::Input_List::qs
std::vector< double > qs
Definition:
input.h:154
Input::Input_List::ext_fields
bool ext_fields
External fields.
Definition:
input.h:117
Input::Input_List::o_Ux
bool o_Ux
Definition:
input.h:66
Input::Input_List::xmaxGlobal
std::vector< double > xmaxGlobal
Definition:
input.h:171
Input::Input_List::temp_profile_str
std::vector< std::string > temp_profile_str
Definition:
input.h:103
Input::Input_List::intensity_time_profile_str
std::string intensity_time_profile_str
Definition:
input.h:123
Input::Input_List::o_vNx
bool o_vNx
Definition:
input.h:62
Input::Input_List::ey_time_profile_str
std::string ey_time_profile_str
Definition:
input.h:125
Input::Input_List::o_Ti
bool o_Ti
Definition:
input.h:66
Input::Input_List::NxGlobal
std::vector< size_t > NxGlobal
Definition:
input.h:166
Input::Input_List::mass
std::vector< double > mass
Definition:
input.h:155
Input::Input_List::o_PxPz
bool o_PxPz
Definition:
input.h:59
Input::Input_List::f00_implicitorexplicit
int f00_implicitorexplicit
Definition:
input.h:47
Input::Input_List::hydrocharge
double hydrocharge
Definition:
input.h:83
Input::Input_List::o_PyPy
bool o_PyPy
Definition:
input.h:59
Input::Input_List::o_Qy
bool o_Qy
Definition:
input.h:61
Input::Input_List::ls
std::vector< size_t > ls
Definition:
input.h:156
Input::Input_List::hydro_temp_profile_str
std::string hydro_temp_profile_str
Definition:
input.h:109
Input::Input_List::o_x1x2
bool o_x1x2
Definition:
input.h:58
Input::Input_List::o_VxVy
bool o_VxVy
Definition:
input.h:60
Input::Input_List::Npy
std::vector< size_t > Npy
Definition:
input.h:162
Input::Input_List::o_Jz
bool o_Jz
Definition:
input.h:63
Input::Input_List::xminGlobal
std::vector< double > xminGlobal
Definition:
input.h:170
Input::Input_List::ez_time_profile_str
std::string ez_time_profile_str
Definition:
input.h:126
Input::Input_List::only_output
bool only_output
Definition:
input.h:67
Input::Input_List::f_pedestal
std::vector< std::string > f_pedestal
Definition:
input.h:106
Input::Input_List::o_p2p1x1
bool o_p2p1x1
Definition:
input.h:58
Input::Input_List::trav_wave
bool trav_wave
Definition:
input.h:117
Input::Input_List::ey_profile_str
std::string ey_profile_str
Definition:
input.h:132
Input::Input_List::o_By
bool o_By
Definition:
input.h:58
Input::Input_List::Nx
size_t Nx
Definition:
input.h:34
Input::Input_List::o_EHist
bool o_EHist
Definition:
input.h:57
Input::Input_List::implicit_E
bool implicit_E
Definition:
input.h:44
Input::Input_List::trav_wave_flat
std::vector< double > trav_wave_flat
Definition:
input.h:146
Input::Input_List::trav_wave_fall
std::vector< double > trav_wave_fall
Definition:
input.h:147
Input::Input_List::nump
size_t nump
Definition:
input.h:34
Input::Input_List::o_f10x1
bool o_f10x1
Definition:
input.h:64
Input::Input_List::o_Uy
bool o_Uy
Definition:
input.h:66
Input::Input_List::ms
std::vector< size_t > ms
Definition:
input.h:157
Input::Input_List::by_wave_profile_str
std::vector< std::string > by_wave_profile_str
Definition:
input.h:142
Input::Input_List::o_Py
bool o_Py
Definition:
input.h:59
Input::Input_List::o_G
bool o_G
Definition:
input.h:59
Input::Input_List::o_f20x1
bool o_f20x1
Definition:
input.h:64
Input::Input_List::collisions
bool collisions
Definition:
input.h:46
Input::Input_List::l0
size_t l0
Definition:
input.h:34
Input::Input_List::hydro_vel_profile_str
std::string hydro_vel_profile_str
Definition:
input.h:110
Input::Input_List::NxLocalnobnd
std::vector< size_t > NxLocalnobnd
Definition:
input.h:167
Input::Input_List::o_Jy
bool o_Jy
Definition:
input.h:63
Input::Input_List::nump3
size_t nump3
Definition:
input.h:68
Input::Input_List::small_dt
double small_dt
Definition:
input.h:76
Input::Input_List::super_gaussian_m
double super_gaussian_m
Definition:
input.h:91
Input::Input_List::restart_time
int restart_time
Definition:
input.h:54
Input::Input_List::ez_profile_str
std::string ez_profile_str
Definition:
input.h:133
Input::Input_List::o_f11x1
bool o_f11x1
Definition:
input.h:64
Input::Input_List::o_p1x1
bool o_p1x1
Definition:
input.h:64
Input::Input_List::o_PxPy
bool o_PxPy
Definition:
input.h:59
Input::Input_List::init_f2
bool init_f2
Definition:
input.h:87
Input::Input_List::RB_D_tolerance
double RB_D_tolerance
Definition:
input.h:75
Input::Input_List::numpx
size_t numpx
Definition:
input.h:68
Input::Input_List::o_Vy
bool o_Vy
Definition:
input.h:60
Input::Input_List::pmax
std::vector< double > pmax
Definition:
input.h:38
Input::Input_List::o_Vsq
bool o_Vsq
Definition:
input.h:61
Input::Input_List::o_p1p2p3
bool o_p1p2p3
Definition:
input.h:58
Input::Input_List::xmin
double xmin
Definition:
input.h:35
Input::Input_List::o_Ez
bool o_Ez
Definition:
input.h:58
Input::Input_List::f10x_profile_str
std::vector< std::string > f10x_profile_str
Definition:
input.h:104
Input::Input_List::hydromass
double hydromass
Definition:
input.h:83
Input::Input_List::m0
size_t m0
Definition:
input.h:34
Input::Input_List::polarization_direction
int polarization_direction
Definition:
input.h:85
Input::Input_List::o_VyVy
bool o_VyVy
Definition:
input.h:60
Input::Input_List::Input_List
Input_List()
Definition:
input.cpp:29
Input::Input_List::globdx
std::vector< double > globdx
Definition:
input.h:174
Input::Input_List::o_Nu
bool o_Nu
Definition:
input.h:64
Input::Input_List::o_Pz
bool o_Pz
Definition:
input.h:59
Input::Input_List::if_tridiagonal
bool if_tridiagonal
Definition:
input.h:43
Input::Input_List::NnodesX
size_t NnodesX
Definition:
input.h:30
Input::Input_List::nump1
size_t nump1
Definition:
input.h:68
Input::Input_List::bx_wave_profile_str
std::vector< std::string > bx_wave_profile_str
Definition:
input.h:141
Input::Input_List::o_fl0x1
bool o_fl0x1
Definition:
input.h:64
Input::Input_List::o_Pressure
bool o_Pressure
Definition:
input.h:64
Input::Input_List::o_f0x1
bool o_f0x1
Definition:
input.h:64
Input::Input_List::f20x_profile_str
std::vector< std::string > f20x_profile_str
Definition:
input.h:105
Input::Input_List::hydro_Z_profile_str
std::string hydro_Z_profile_str
Definition:
input.h:111
Input::Input_List::RB_D_itmax
size_t RB_D_itmax
Definition:
input.h:74
Input::Input_List::I_0
double I_0
Definition:
input.h:120
Input::List
Input_List & List()
Definition:
input.cpp:1585
Input::Input_List::num_waves
int num_waves
Definition:
input.h:118
Input::Input_List::bx_profile_str
std::string bx_profile_str
Definition:
input.h:134
Input::Input_List::pth_ref
double pth_ref
Definition:
input.h:96
Input::Input_List::init_f1
bool init_f1
Definition:
input.h:87
Input::Input_List::o_vNz
bool o_vNz
Definition:
input.h:62
Input::Input_List::o_Qx
bool o_Qx
Definition:
input.h:61
Input::Input_List::density_np
double density_np
Definition:
input.h:71
Input::Input_List::o_pth
bool o_pth
Definition:
input.h:58
Input::Input_List::pth
std::vector< double > pth
Definition:
input.h:159
Input::Input_List::ey_wave_profile_str
std::vector< std::string > ey_wave_profile_str
Definition:
input.h:139
Input::Input_List::dens_profile_str
std::vector< std::string > dens_profile_str
Initialization.
Definition:
input.h:102
Input::Input_List::o_PxPx
bool o_PxPx
Definition:
input.h:59
Input::Input_List::oTags
std::vector< std::string > oTags
Definition:
input.h:153
Input::Input_List::bz_time_profile_str
std::string bz_time_profile_str
Definition:
input.h:129
Input::Input_List::o_Bz
bool o_Bz
Definition:
input.h:58
Input::Input_List::o_ND
bool o_ND
Definition:
input.h:64
Input::Input_List::o_vNy
bool o_vNy
Definition:
input.h:62
Input::Input_List::o_Ey
bool o_Ey
Definition:
input.h:58
Input::Input_List::numsp
size_t numsp
Definition:
input.h:32
Input::Input_List::o_VxVx
bool o_VxVx
Definition:
input.h:60
Input
Definition:
input.h:18
Input::Input_List
Definition:
input.h:21
Input::Input_List::BoundaryCells
int BoundaryCells
Definition:
input.h:50
Input::Input_List::Npz
std::vector< size_t > Npz
Definition:
input.h:163
Input::Input_List::n_distoutsteps
size_t n_distoutsteps
Definition:
input.h:52
Input::Input_List::by_time_profile_str
std::string by_time_profile_str
Definition:
input.h:128
Input::Input_List::n_restarts
int n_restarts
Definition:
input.h:54
Input::Input_List::NB_algorithms
int NB_algorithms
Definition:
input.h:78
Input::Input_List::lambda_0
double lambda_0
Definition:
input.h:120
Input::Input_List::o_Uz
bool o_Uz
Definition:
input.h:66
Input::Input_List::IB_heating
bool IB_heating
Definition:
input.h:119
source
input.h
Generated by
1.8.13