Base types. More...
Go to the source code of this file.
Macros | |
#define | PARTICLE_T 0 |
Keyword for accessing particle time. More... | |
#define | PARTICLE_X 1 |
Keyword for accessing particle position in x-direction. More... | |
#define | PARTICLE_VX 2 |
Keyword for accessing particle velocity in x-direction. More... | |
#define | PARTICLE_Y 3 |
Keyword for accessing particle position in y-direction. More... | |
#define | PARTICLE_VY 4 |
Keyword for accessing particle velocity in y-direction. More... | |
#define | PARTICLE_R 3 |
Keyword for accessing particle position in r-direction. More... | |
#define | PARTICLE_VR 4 |
Keyword for accessing particle velocity in r-direction. More... | |
#define | PARTICLE_W 5 |
Keyword for accessing particle angular velocity. More... | |
#define | PARTICLE_Z 5 |
Keyword for accessing particle position in z-direction. More... | |
#define | PARTICLE_VZ 6 |
Keyword for accessing particle velocity in z-direction. More... | |
Typedefs | |
typedef field_type_e | field_diag_type_e |
Field diagnostic type. More... | |
Variables | |
const char * | coordinate_axis_string [] |
String describing axis names without unit. More... | |
const char * | coordinate_axis_string_with_unit [] |
String describing axis names with unit. More... | |
const char * | trajectory_diagnostic_string [] |
String describing diagnostic without unit. More... | |
const char * | trajectory_diagnostic_string_with_unit [] |
String describing diagnostic with unit. More... | |
const char * | trajectory_diagnostic_string_unit [] |
String for separate diagnostic unit. More... | |
Detailed Description
Base types.
Macro Definition Documentation
◆ PARTICLE_R
#define PARTICLE_R 3 |
Keyword for accessing particle position in r-direction.
◆ PARTICLE_T
#define PARTICLE_T 0 |
Keyword for accessing particle time.
◆ PARTICLE_VR
#define PARTICLE_VR 4 |
Keyword for accessing particle velocity in r-direction.
◆ PARTICLE_VX
#define PARTICLE_VX 2 |
Keyword for accessing particle velocity in x-direction.
◆ PARTICLE_VY
#define PARTICLE_VY 4 |
Keyword for accessing particle velocity in y-direction.
◆ PARTICLE_VZ
#define PARTICLE_VZ 6 |
Keyword for accessing particle velocity in z-direction.
◆ PARTICLE_W
#define PARTICLE_W 5 |
Keyword for accessing particle angular velocity.
◆ PARTICLE_X
#define PARTICLE_X 1 |
Keyword for accessing particle position in x-direction.
◆ PARTICLE_Y
#define PARTICLE_Y 3 |
Keyword for accessing particle position in y-direction.
◆ PARTICLE_Z
#define PARTICLE_Z 5 |
Keyword for accessing particle position in z-direction.
Typedef Documentation
◆ field_diag_type_e
typedef field_type_e field_diag_type_e |
Field diagnostic type.
- Deprecated:
- Provided for compatibility only. Replaced by multipurpose field type selector field_type_e.
Enumeration Type Documentation
◆ bound_e
enum bound_e |
Boundary type.
Boundary conditions for solids and simulation box boundaries. See class Bound for more information.
Enumerator | |
---|---|
BOUND_DIRICHLET | Dirichlet boundary condition. |
BOUND_NEUMANN | Neumann (or natural) boundary condition. |
◆ coordinate_axis_e
enum coordinate_axis_e |
◆ field_extrpl_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 as F(x) = F(-x) (FIELD_MIRROR) anti-mirrored as F_x(x,y,z) = -F_x(-x,y,z) (FIELD_ANTIMIRROR), the field evaluator can simply return zero (FIELD_ZERO) or the field evaluator can return not-a-number, NaN (FIELD_NAN ). FIELD_SYMMETRIC_POTENTIAL is a special extrapolation mode for use in EpotEfield.
◆ field_type_e
enum field_type_e |
Field type.
Indicator for field type.
◆ geom_mode_e
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).
Enumerator | |
---|---|
MODE_1D | 1D geometry |
MODE_2D | 2D geometry |
MODE_CYL | Cylindrically symmetric geometry. |
MODE_3D | 3D geometry |
◆ scharge_deposition_e
enum scharge_deposition_e |
◆ trajectory_diagnostic_e
Type of diagnostic for trajectories.
O-, P- and Q-axes are diagnostic axes defined by user.
◆ trajectory_interpolation_e
Variable Documentation
◆ coordinate_axis_string
|
extern |
String describing axis names without unit.
Contains strings: "x", "y", "r" and "z".
◆ coordinate_axis_string_with_unit
|
extern |
String describing axis names with unit.
Contains strings: "x (m)", "y (m)", "r (m)" and "z (m)".
◆ trajectory_diagnostic_string
|
extern |
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.
◆ trajectory_diagnostic_string_unit
|
extern |
String for separate diagnostic unit.
Contains strings: "", "s", "m", "m/2", "m", ... Greek letters are typed with LaTeX notation for correct output in plots.
◆ trajectory_diagnostic_string_with_unit
|
extern |
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.