constant_electric_field

provides a constant, uniform electric field.

XML element: <constant_electric_field>
C++ type: KElectrostaticConstantField
Also available as: field_electric_constant, ksfield_electric_constant
Attributes

Attribute

Type

Description

field

KEMStreamableThreeVector

the cartesian components of the electric field vector in volts per meter.

location

KEMStreamableThreeVector

name

string

the name of the electric field.

offset_potential

double

Example:

<constant_electric_field name="electric_constant" field="2 0 -1" />

Used as:

Can be referenced by:

More information

Used in example configurations: