Class MagneticFieldList

Inheritance Relationships

Base Type

Class Documentation

class MagneticFieldList : public MagneticField

Magnetic field decorator implementing a superposition of fields.

Public Functions

void addField(ref_ptr<MagneticField> field)
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