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)
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