ASCOT5
|
Wrapper for marker structs. More...
#include <particle.h>
Data Fields | ||
input_particle_type | type | |
union { | ||
particle p | ||
particle_gc p_gc | ||
particle_ml p_ml | ||
particle_state p_s | ||
}; | ||
Wrapper for marker structs.
This struct wraps particle_state struct and all input structs. Reason is because input data can have several marker types and with this wrapper only a single array is required to store them. The same array can be used when the input markers are turned into marker states.
Only a single type is stored here indicated by the "type" field. Storing a a new marker struct removes the old marker struct.
Definition at line 186 of file particle.h.
input_particle_type input_particle::type |
Type of data currently stored
Definition at line 187 of file particle.h.
particle input_particle::p |
Particle input
Definition at line 189 of file particle.h.
particle_gc input_particle::p_gc |
Guiding center input
Definition at line 190 of file particle.h.
particle_ml input_particle::p_ml |
Field line tracer input
Definition at line 191 of file particle.h.
particle_state input_particle::p_s |
Marker state
Definition at line 192 of file particle.h.