ASCOT5
Loading...
Searching...
No Matches
Data Fields
input_particle Struct Reference

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 
 
};  
 

Detailed Description

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.

Field Documentation

◆ type

input_particle_type input_particle::type

Type of data currently stored

Definition at line 187 of file particle.h.

◆ p

particle input_particle::p

Particle input

Definition at line 189 of file particle.h.

◆ p_gc

particle_gc input_particle::p_gc

Guiding center input

Definition at line 190 of file particle.h.

◆ p_ml

particle_ml input_particle::p_ml

Field line tracer input

Definition at line 191 of file particle.h.

◆ p_s

particle_state input_particle::p_s

Marker state

Definition at line 192 of file particle.h.


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