Class AMRMagneticField

Inheritance Relationships

Base Type

Class Documentation

class AMRMagneticField : public MagneticField

Wrapper for saga::MagneticField.

Public Functions

AMRMagneticField(saga::ref_ptr<saga::MagneticField> field_, double convLength, double convDensity, double convMagneticField)
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