Base types. More...
Go to the source code of this file.
Macros | |
#define | PARTICLE_T 0 |
Defined keywords for accessing particle point coordinates. | |
#define | PARTICLE_X 1 |
#define | PARTICLE_VX 2 |
#define | PARTICLE_Y 3 |
#define | PARTICLE_VY 4 |
#define | PARTICLE_R 3 |
#define | PARTICLE_VR 4 |
#define | PARTICLE_W 5 |
#define | PARTICLE_Z 5 |
#define | PARTICLE_VZ 6 |
Typedefs | |
typedef field_type_e | field_diag_type_e |
Field diagnostic type. |
Enumerations | |
enum | geom_mode_e { MODE_1D = 0, MODE_2D, MODE_CYL, MODE_3D } |
Geometry mode enum. More... | |
enum | field_extrpl_e { FIELD_EXTRAPOLATE = 0, FIELD_MIRROR, FIELD_ZERO, FIELD_NAN } |
Field extrapolation mode. More... | |
enum | field_type_e { FIELD_NONE = 0, FIELD_EPOT, FIELD_SCHARGE, FIELD_TRAJDENS, FIELD_EFIELD, FIELD_EFIELD_X, FIELD_EFIELD_Y, FIELD_EFIELD_Z, FIELD_BFIELD, FIELD_BFIELD_X, FIELD_BFIELD_Y, FIELD_BFIELD_Z } |
Field type. More... | |
enum | bound_e { BOUND_DIRICHLET = 0, BOUND_NEUMANN } |
Boundary type. More... | |
enum | coordinate_axis_e { AXIS_X = 0, AXIS_Y, AXIS_R, AXIS_Z } |
Coordinate axis identifier. More... | |
enum | trajectory_diagnostic_e { DIAG_NONE = 0, DIAG_T, DIAG_X, DIAG_VX, DIAG_Y, DIAG_R, DIAG_VY, DIAG_VR, DIAG_W, DIAG_VTHETA, DIAG_Z, DIAG_VZ, DIAG_O, DIAG_VO, DIAG_P, DIAG_VP, DIAG_Q, DIAG_VQ, DIAG_XP, DIAG_YP, DIAG_RP, DIAG_AP, DIAG_ZP, DIAG_OP, DIAG_PP, DIAG_CURR, DIAG_EK, DIAG_QM } |
Type of diagnostic for trajectories. More... |
Variables | |
const char * | coordinate_axis_string [] |
String describing axis names without unit. | |
const char * | coordinate_axis_string_with_unit [] |
String describing axis names with unit. | |
const char * | trajectory_diagnostic_string [] |
String describing diagnostic without unit. | |
const char * | trajectory_diagnostic_string_with_unit [] |
String describing diagnostic with unit. |
Base types.
#define PARTICLE_R 3 |
#define PARTICLE_T 0 |
Defined keywords for accessing particle point coordinates.
#define PARTICLE_VR 4 |
#define PARTICLE_VX 2 |
#define PARTICLE_VY 4 |
#define PARTICLE_VZ 6 |
#define PARTICLE_W 5 |
#define PARTICLE_X 1 |
#define PARTICLE_Y 3 |
#define PARTICLE_Z 5 |
typedef field_type_e field_diag_type_e |
Field diagnostic type.
enum bound_e |
Boundary type.
Boundary conditions for solids and simulation box boundaries. See class Bound for more information.
enum coordinate_axis_e |
enum field_extrpl_e |
Field extrapolation mode.
This parameter is used to control the behaviour of the field evaluators outside the defined area. The field value can be extrapolated from the closest defined points (FIELD_EXTRAPOLATE), the field can be mirrored (FIELD_MIRROR), the field evaluator can simply return zero (FIELD_ZERO) or the field evaluator can return not-a-number, NaN (FIELD_NAN ).
enum field_type_e |
Field type.
Indicator for field type.
enum geom_mode_e |
Geometry mode enum.
Simulation geometry can be either 1D (MODE_1D), planar 2D (MODE_2D), planar 3D (MODE_3D) or it can be defined as cylindrical symmetrical 2D with coordinates x and r (MODE_CYL).
The geometry mode selects the active axes for calculation and fields. For MODE_1D only x-axis (axis 0) is active. For MODE_2D the x- and y-axes are active (axes 0 and 1). For MODE_CYL the x- and r-axes are active (axes 0 and 1). For MODE_3D the x- and y- and z-axes are active (axes 0, 1 and 2).
Type of diagnostic for trajectories.
O-, P- and Q-axes are diagnostic axes defined by user.
const char* coordinate_axis_string[] |
String describing axis names without unit.
Contains strings: "x", "y", "r" and "z".
const char* coordinate_axis_string_with_unit[] |
String describing axis names with unit.
Contains strings: "x (m)", "y (m)", "r (m)" and "z (m)".
const char* trajectory_diagnostic_string[] |
String describing diagnostic without unit.
Contains strings: "none", "t", "x", "v_x", "y", ... Greek letters are typed with LaTeX notation for correct output in plots.
const char* trajectory_diagnostic_string_with_unit[] |
String describing diagnostic with unit.
Contains strings: "none ()", "t (s)", "x (m)", "v_x (m/2)", "y (m)", ... Greek letters are typed with LaTeX notation for correct output in plots.