ASCOT5
|
Struct representing NSIMD guiding center markers. More...
#include <particle.h>
Struct representing NSIMD guiding center markers.
This struct is used in simulation when the simulation loop in simulate_gc_fixed.c or simulate_gc_adaptive.c is used.
It contains physical and simulation parameters necessary for the simulation If a function makes changes to any of these parameters, it is that function's responsibility to make sure all fields remain consistent, i.e., if position changes then the magnetic field should be updated. Each field is a memory aligned array with length NSIMD, so this struct represents NSIMD markers (they can be dummy or markers whose simulation has been terminated) and so it can be used within SIMD loops.
The fields are aligned to 64 bit with memalign (see ascot5.h).
Definition at line 275 of file particle.h.
Guiding center R coordinate [m]
Definition at line 277 of file particle.h.
Guiding center phi coordinate [phi]
Definition at line 278 of file particle.h.
Guiding center z coordinate [m]
Definition at line 279 of file particle.h.
Parallel momentum [kg m/s]
Definition at line 280 of file particle.h.
Magnetic moment [J/T]
Definition at line 281 of file particle.h.
Gyroangle [rad]
Definition at line 282 of file particle.h.
Mass [kg]
Definition at line 283 of file particle.h.
Charge [C]
Definition at line 284 of file particle.h.
Marker simulation time [s]
Definition at line 285 of file particle.h.
Magnetic field R component at marker position [T]
Definition at line 288 of file particle.h.
Magnetic field phi component at marker position [T]
Definition at line 290 of file particle.h.
Magnetic field z component at marker position [T]
Definition at line 292 of file particle.h.
dB_R/dR at marker pos. [T/m]
Definition at line 295 of file particle.h.
dB_phi/dR at marker pos. [T/m]
Definition at line 296 of file particle.h.
dB_z/dR at marker pos. [T/m]
Definition at line 297 of file particle.h.
dB_R/dphi at marker pos. [T/m]
Definition at line 298 of file particle.h.
dB_phi/dphi at marker pos. [T/m]
Definition at line 299 of file particle.h.
dB_z/dphi at marker pos. [T/m]
Definition at line 300 of file particle.h.
dB_R/dz at marker pos. [T/m]
Definition at line 301 of file particle.h.
dB_phi/dz at marker pos. [T/m]
Definition at line 302 of file particle.h.
dB_z/dz at marker pos. [T/m]
Definition at line 303 of file particle.h.
int bounces [NSIMD] particle_simd_gc::__memalign__ |
Number of times pitch sign changed
Definition at line 306 of file particle.h.
Marker weight
Definition at line 307 of file particle.h.
Marker wall-clock time [s]
Definition at line 308 of file particle.h.
Marker rho coordinate
Definition at line 309 of file particle.h.
Marker poloidal coordinate [rad]
Definition at line 310 of file particle.h.
Unique ID for the marker
Definition at line 312 of file particle.h.
Marker end condition
Definition at line 313 of file particle.h.
ID of walltile if marker has hit the wall
Definition at line 314 of file particle.h.
Duration this marker has been simulated [s]
Definition at line 318 of file particle.h.
Indicates whether this marker is currently simulated (1) or not
Definition at line 320 of file particle.h.
Error flag, zero if no error
Definition at line 322 of file particle.h.
Marker index at marker queue
Definition at line 323 of file particle.h.