Class QuimbyMagneticField

Inheritance Relationships

Base Type

Class Documentation

class QuimbyMagneticField : public MagneticField

Wrapper for quimby::MagneticField.

Public Functions

inline QuimbyMagneticField(quimby::ref_ptr<quimby::MagneticField> field)
inline QuimbyMagneticField(quimby::MagneticField *field)
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