ASCOT5
Loading...
Searching...
No Matches
diag_orb_data Struct Reference

Orbit diagnostics data struct. More...

#include <diag_orb.h>

Data Fields

real * id
real * mileage
real * r
real * phi
real * z
real * p_r
real * p_phi
real * p_z
real * ppar
real * mu
real * zeta
real * weight
real * charge
real * rho
real * theta
real * B_r
real * B_phi
real * B_z
real * simmode
real * pncrid
real * pncrdi
integer * mrk_pnt
real * mrk_recorded
int mode
int Npnt
int Nmrk
int Nfld
real writeInterval
int ntoroidalplots
int npoloidalplots
int nradialplots
int record_mode
real toroidalangles [DIAG_ORB_MAXPOINCARES]
real poloidalangles [DIAG_ORB_MAXPOINCARES]
real radialdistances [DIAG_ORB_MAXPOINCARES]

Detailed Description

Orbit diagnostics data struct.

The pointers are asssigned to the offload array but only those pointers are used which corresponds to the simulation mode (e.g. GC simulation).

The marker orbit data are stored in maxpoints length chunks in the offload array. The chuncks are in no particular order. Once chunk is filled and the marker is still recording, new points replace the old ones from the start.

Definition at line 42 of file diag_orb.h.

Field Documentation

◆ id

real* diag_orb_data::id

Marker ID

Definition at line 43 of file diag_orb.h.

◆ mileage

real* diag_orb_data::mileage

Time marker has been simulated for [s]

Definition at line 44 of file diag_orb.h.

◆ r

real* diag_orb_data::r

Marker R coordinate [m]

Definition at line 45 of file diag_orb.h.

◆ phi

real* diag_orb_data::phi

Marker phi coordinate [rad]

Definition at line 46 of file diag_orb.h.

◆ z

real* diag_orb_data::z

Marker z coordiante [m]

Definition at line 47 of file diag_orb.h.

◆ p_r

real* diag_orb_data::p_r

Particle momentum R component [kg m/s]

Definition at line 48 of file diag_orb.h.

◆ p_phi

real* diag_orb_data::p_phi

Particle momentum phi component [kg m/s]

Definition at line 49 of file diag_orb.h.

◆ p_z

real* diag_orb_data::p_z

Particle momentum z component [kg m/s]

Definition at line 50 of file diag_orb.h.

◆ ppar

real* diag_orb_data::ppar

Guiding center parallel momentum [kg m/s]

Definition at line 51 of file diag_orb.h.

◆ mu

real* diag_orb_data::mu

Guiding center magnetic moment [J/T]

Definition at line 52 of file diag_orb.h.

◆ zeta

real* diag_orb_data::zeta

Guiding center gyroangle [rad]

Definition at line 53 of file diag_orb.h.

◆ weight

real* diag_orb_data::weight

Marker weight [1]

Definition at line 54 of file diag_orb.h.

◆ charge

real* diag_orb_data::charge

Marker charge [C]

Definition at line 55 of file diag_orb.h.

◆ rho

real* diag_orb_data::rho

Normalized poloidal flux at marker position [1]

Definition at line 56 of file diag_orb.h.

◆ theta

real* diag_orb_data::theta

Marker poloidal angle [rad]

Definition at line 57 of file diag_orb.h.

◆ B_r

real* diag_orb_data::B_r

Magnetic field R component at marker position [T]

Definition at line 58 of file diag_orb.h.

◆ B_phi

real* diag_orb_data::B_phi

Magnetic field phi component at marker position [T]

Definition at line 59 of file diag_orb.h.

◆ B_z

real* diag_orb_data::B_z

Magnetic field z component at marker position [T]

Definition at line 60 of file diag_orb.h.

◆ simmode

real* diag_orb_data::simmode

In what simulation mode data point was recorded

Definition at line 61 of file diag_orb.h.

◆ pncrid

real* diag_orb_data::pncrid

Id for the poincare plot a point corresponds to

Definition at line 62 of file diag_orb.h.

◆ pncrdi

real* diag_orb_data::pncrdi

Direction in which Poincare plane was crossed

Definition at line 63 of file diag_orb.h.

◆ mrk_pnt

integer* diag_orb_data::mrk_pnt

Index of the last recorded point

Definition at line 65 of file diag_orb.h.

◆ mrk_recorded

real* diag_orb_data::mrk_recorded

Last time (in seconds) a marker was updated

Definition at line 66 of file diag_orb.h.

◆ mode

int diag_orb_data::mode

Defines condition for recording markers

Definition at line 68 of file diag_orb.h.

◆ Npnt

int diag_orb_data::Npnt

Maximum number of points to keep recorded

Definition at line 69 of file diag_orb.h.

◆ Nmrk

int diag_orb_data::Nmrk

Number of markers to record

Definition at line 70 of file diag_orb.h.

◆ Nfld

int diag_orb_data::Nfld

Number of fields the record contains

Definition at line 71 of file diag_orb.h.

◆ writeInterval

real diag_orb_data::writeInterval

Interval at which markers are recorded

Definition at line 72 of file diag_orb.h.

◆ ntoroidalplots

int diag_orb_data::ntoroidalplots

Number of toroidal Poincare planes

Definition at line 73 of file diag_orb.h.

◆ npoloidalplots

int diag_orb_data::npoloidalplots

Number of poloidal Poincare planes

Definition at line 74 of file diag_orb.h.

◆ nradialplots

int diag_orb_data::nradialplots

Number of radial Poincare planes

Definition at line 75 of file diag_orb.h.

◆ record_mode

int diag_orb_data::record_mode

Defines what fields are initialized

Definition at line 76 of file diag_orb.h.

◆ toroidalangles

real diag_orb_data::toroidalangles[DIAG_ORB_MAXPOINCARES]

Toroidal plane angles

Definition at line 77 of file diag_orb.h.

◆ poloidalangles

real diag_orb_data::poloidalangles[DIAG_ORB_MAXPOINCARES]

Poloidal plane angles

Definition at line 78 of file diag_orb.h.

◆ radialdistances

real diag_orb_data::radialdistances[DIAG_ORB_MAXPOINCARES]

Radial plane angles

Definition at line 79 of file diag_orb.h.


The documentation for this struct was generated from the following file: