electric_quadrupole_field

provides a perfect quadrupole electric field. equipotential surfaces are hyperboloids of revolution about the z axis, with asymptotic cones at zero potential. the potential in cylindrical coordinates obeys:

V(z,r,phi) = V0 * (z^2 - r^2 / 2) / (z0^2 + r0^2 / 2)

XML element: <electric_quadrupole_field>
C++ type: KElectricQuadrupoleField
Also available as: field_electric_quadrupole, ksfield_electric_quadrupole
Attributes

Attribute

Type

Description

length

double

z0 in the equation of the element description, in meters.

location

KEMStreamableThreeVector

the vertex of the asymptotic cones.

name

string

the name of the electric field.

radius

double

r0 in the equation of the element description, in meters.

strength

double

V0 in the equation of the element description, in volts.

Example:

<electric_quadrupole_field name="electric_quadrupole" location="0. 0. 0." strength="-10000." length="1.e-2" radius="1.e-2"/>

Used as:

Can be referenced by:

More information

Used in example configurations: