kstraj_trajectory_magnetic

this trajectory internally uses a magnetic representation of the particle. this trajectory is used to compute magnetic field lines.

Child elements:

  • integrators: any integrator element (integrator_*) may be used.

  • interpolators: any interpolator element (interpolator_*) may be used.

  • controls: any control element (control_*) may be used.

  • terms: only the propagation term may be used with this trajectory.

XML element: <kstraj_trajectory_magnetic>
C++ type: KSTrajTrajectoryMagnetic
Child elements

Element

Description

control_B_change

control_length

this control suggests a temporal step which would result in a step with the given length were the particle to remain at constant speed.

control_time

this control suggests a constant temporal step.

integrator_rk54

an 5th/4th order embedded runge-kutta integrator.

integrator_rk65

an 6th/5th order embedded runge-kutta integrator.

integrator_rk8

an 8th order runge-kutta integrator.

integrator_rk86

an 8th/6th order embedded runge-kutta integrator.

integrator_rk87

an 8th/7th order embedded runge-kutta integrator.

integrator_rkdp54

integrator_rkdp853

interpolator_crk

interpolator_fast

this interpolator uses a linear interpolation internally.

interpolator_hermite

term_propagation

this term in the equation of motion moves the particle in external electromagnetic fields.

Attributes

Attribute

Type

Description

attempt_limit

unsigned int

max_segments

unsigned int

name

string

the name of this trajectory.

piecewise_tolerance

double

Example:

<kstraj_trajectory_magnetic name="trajectory_magnetic">
    <integrator_rk8/>
    <control_time time="1.e-10"/>
    <term_propagation/>
</kstraj_trajectory_magnetic>

Used as:

Can be referenced by:

More information

Appears in the documentation:

Used in example configurations: