ASCOT5
|
Struct representing NSIMD field line markers. More...
#include <particle.h>
Data Fields | |
real r[NSIMD] | __memalign__ |
real phi[NSIMD] | __memalign__ |
real z[NSIMD] | __memalign__ |
real pitch[NSIMD] | __memalign__ |
real time[NSIMD] | __memalign__ |
real B_r[NSIMD] | __memalign__ |
real B_phi[NSIMD] | __memalign__ |
real B_z[NSIMD] | __memalign__ |
real B_r_dr[NSIMD] | __memalign__ |
real B_phi_dr[NSIMD] | __memalign__ |
real B_z_dr[NSIMD] | __memalign__ |
real B_r_dphi[NSIMD] | __memalign__ |
real B_phi_dphi[NSIMD] | __memalign__ |
real B_z_dphi[NSIMD] | __memalign__ |
real B_r_dz[NSIMD] | __memalign__ |
real B_phi_dz[NSIMD] | __memalign__ |
real B_z_dz[NSIMD] | __memalign__ |
real weight[NSIMD] | __memalign__ |
real cputime[NSIMD] | __memalign__ |
real rho[NSIMD] | __memalign__ |
real theta[NSIMD] | __memalign__ |
integer id[NSIMD] | __memalign__ |
integer endcond[NSIMD] | __memalign__ |
integer walltile[NSIMD] | __memalign__ |
real mileage[NSIMD] | __memalign__ |
integer running[NSIMD] | __memalign__ |
a5err err[NSIMD] | __memalign__ |
integer index[NSIMD] | __memalign__ |
Struct representing NSIMD field line markers.
This struct is used in simulation when the simulation loop in simulate_ml_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 342 of file particle.h.
Field line R coordinate [m]
Definition at line 344 of file particle.h.
Field line phi coordinate [phi]
Definition at line 345 of file particle.h.
Field line z coordinate [m]
Definition at line 346 of file particle.h.
Field line direction: along (1) or against (-1) magnetic field vector
Definition at line 347 of file particle.h.
Field line simulation time [s]
Definition at line 349 of file particle.h.
Magnetic field R component at marker position [T]
Definition at line 352 of file particle.h.
Magnetic field phi component at marker position [T]
Definition at line 354 of file particle.h.
Magnetic field z component at marker position [T]
Definition at line 356 of file particle.h.
dB_R/dR at marker pos. [T/m]
Definition at line 359 of file particle.h.
dB_phi/dR at marker pos. [T/m]
Definition at line 360 of file particle.h.
dB_z/dR at marker pos. [T/m]
Definition at line 361 of file particle.h.
dB_R/dphi at marker pos. [T/m]
Definition at line 362 of file particle.h.
dB_phi/dphi at marker pos. [T/m]
Definition at line 363 of file particle.h.
dB_z/dphi at marker pos. [T/m]
Definition at line 364 of file particle.h.
dB_R/dz at marker pos. [T/m]
Definition at line 365 of file particle.h.
dB_phi/dz at marker pos. [T/m]
Definition at line 366 of file particle.h.
dB_z/dz at marker pos. [T/m]
Definition at line 367 of file particle.h.
Marker weight
Definition at line 370 of file particle.h.
Marker wall-clock time [s]
Definition at line 371 of file particle.h.
Marker rho coordinate
Definition at line 372 of file particle.h.
Marker poloidal coordinate [rad]
Definition at line 373 of file particle.h.
Unique ID for the marker
Definition at line 375 of file particle.h.
Marker end condition
Definition at line 376 of file particle.h.
ID of walltile if marker has hit the wall
Definition at line 377 of file particle.h.
Duration this marker has been simulated [s]
Definition at line 381 of file particle.h.
Indicates whether this marker is currently simulated (1) or not
Definition at line 383 of file particle.h.
Error flag, zero if no error
Definition at line 385 of file particle.h.
Marker index at marker queue
Definition at line 386 of file particle.h.