Class UniformMagneticField

Inheritance Relationships

Base Type

Class Documentation

class UniformMagneticField : public MagneticField

Magnetic field with one B-field vector.

Public Functions

inline UniformMagneticField(const Vector3d &value)

Constructor

Parameters:

value – magnetic field strength

inline virtual Vector3d getField(const Vector3d &position) const
inline virtual Vector3d getField(const Vector3d &position, double z) const
inline size_t addReference() const
inline size_t removeReference() const
inline int removeReferenceNoDelete() const
inline size_t getReferenceCount() const

Protected Attributes

mutable size_t _referenceCount