Class UniformMagneticField

Inheritance Relationships

Base Type

Class Documentation

class UniformMagneticField : public MagneticField

Magnetic field with one B-field vector.

Public Functions

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

Protected Attributes

size_t _referenceCount