ASCOT5
|
Simulation data struct. More...
#include <simulate.h>
Simulation data struct.
This structure holds all data required to simulate markers except the markers themselves. Options, initialized input data, etc. are all stored here.
Even though most fields are identical to sim_offload_data, a separate struct is required as pointers cannot be offloaded.
Definition at line 154 of file simulate.h.
B_field_data sim_data::B_data |
Magnetic field interface
Definition at line 156 of file simulate.h.
E_field_data sim_data::E_data |
Electric field interface
Definition at line 157 of file simulate.h.
plasma_data sim_data::plasma_data |
Plasma data interface
Definition at line 158 of file simulate.h.
neutral_data sim_data::neutral_data |
Neutral data interface
Definition at line 159 of file simulate.h.
wall_data sim_data::wall_data |
Wall data interface
Definition at line 160 of file simulate.h.
boozer_data sim_data::boozer_data |
Boozer data interface
Definition at line 161 of file simulate.h.
mhd_data sim_data::mhd_data |
MHD data interface
Definition at line 162 of file simulate.h.
asigma_data sim_data::asigma_data |
Atomic sigma data interface
Definition at line 163 of file simulate.h.
nbi_data sim_data::nbi_data |
Neutral beam injection data interface
Definition at line 164 of file simulate.h.
diag_data sim_data::diag_data |
Diagnostics data interface
Definition at line 165 of file simulate.h.
random_data sim_data::random_data |
Random number generator
Definition at line 168 of file simulate.h.
mccc_data sim_data::mccc_data |
Tabulated special functions and collision operator parameters
Definition at line 169 of file simulate.h.
int sim_data::sim_mode |
Which simulation mode is used
Definition at line 173 of file simulate.h.
int sim_data::enable_ada |
Is adaptive time-step used
Definition at line 174 of file simulate.h.
int sim_data::record_mode |
Which record mode is used
Definition at line 175 of file simulate.h.
int sim_data::fix_usrdef_use |
Use user defined value for (initial) time-step
Definition at line 178 of file simulate.h.
real sim_data::fix_usrdef_val |
User defined time-step value
Definition at line 179 of file simulate.h.
int sim_data::fix_gyrodef_nstep |
Time-step = gyrotime/fix_stepsPerGO if not explicitly user defined
Definition at line 180 of file simulate.h.
real sim_data::ada_tol_orbfol |
Tolerance for relative error in orbit-following
Definition at line 184 of file simulate.h.
real sim_data::ada_tol_clmbcol |
Tolerance for relative error in Coulomb collisions
Definition at line 186 of file simulate.h.
real sim_data::ada_max_drho |
Maximum rho distance marker is allowed to travel during single adaptive time-step
Definition at line 188 of file simulate.h.
real sim_data::ada_max_dphi |
Maximum phi distance marker is allowed to travel during single adaptive time-step
Definition at line 190 of file simulate.h.
int sim_data::enable_orbfol |
Is orbit-following enabled
Definition at line 194 of file simulate.h.
int sim_data::enable_clmbcol |
Are Coulomb collisions enabled
Definition at line 195 of file simulate.h.
int sim_data::enable_mhd |
Are MHD modes enabled
Definition at line 196 of file simulate.h.
int sim_data::enable_atomic |
Are atomic reactions enabled
Definition at line 197 of file simulate.h.
int sim_data::disable_gctransform |
Disables first order velocity terms in guiding center transformation
Definition at line 198 of file simulate.h.
int sim_data::disable_energyccoll |
Disables energy component from Coulomb collisions
Definition at line 200 of file simulate.h.
int sim_data::disable_pitchccoll |
Disables pitch component from Coulomb collisions
Definition at line 202 of file simulate.h.
int sim_data::disable_gcdiffccoll |
Disables guiding center spatial diffusion from Coulomb collisions
Definition at line 204 of file simulate.h.
int sim_data::reverse_time |
Set time running backwards in simulation
Definition at line 206 of file simulate.h.
int sim_data::endcond_active |
Bit array notating active end conditions
Definition at line 209 of file simulate.h.
real sim_data::endcond_lim_simtime |
Simulation time limit [s]
Definition at line 210 of file simulate.h.
real sim_data::endcond_max_mileage |
Maximum simulation duration [s]
Definition at line 211 of file simulate.h.
real sim_data::endcond_max_cputime |
Maximum wall-clock time [s]
Definition at line 212 of file simulate.h.
real sim_data::endcond_min_rho |
Minimum rho limit
Definition at line 213 of file simulate.h.
real sim_data::endcond_max_rho |
Maximum rho limit
Definition at line 214 of file simulate.h.
real sim_data::endcond_min_ekin |
Fixed minimum kinetic energy limit [J]
Definition at line 215 of file simulate.h.
real sim_data::endcond_min_thermal |
Thermal minimum energy limit is this parameter times local thermal energy
Definition at line 216 of file simulate.h.
real sim_data::endcond_max_tororb |
Maximum limit for toroidal distance [rad]
Definition at line 218 of file simulate.h.
real sim_data::endcond_max_polorb |
Maximum limit for poloidal distance [rad]
Definition at line 219 of file simulate.h.
int sim_data::endcond_torandpol |
Flag whether both tor and pol must be met
Definition at line 220 of file simulate.h.