constant_magnetic_field

provides a constant, uniform magnetic field.

XML element: <constant_magnetic_field>
C++ type: KMagnetostaticConstantField
Also available as: field_magnetic_constant, ksfield_magnetic_constant
Attributes

Attribute

Type

Description

field

KEMStreamableThreeVector

the cartesian components of the magnetic field vector in tesla.

location

KEMStreamableThreeVector

name

string

the name of the magnetic field.

Example:

<constant_magnetic_field name="magnetic_constant" field="0. 0. 10."/>

Used as:

Can be referenced by:

More information

Used in example configurations: