Class LogarithmicSpiralField

Inheritance Relationships

Base Type

Class Documentation

class LogarithmicSpiralField : public MagneticField

Galactic disk field model of axisymmetric (ASS) or bisymmetric (BSS) logarithmic spiral shape.

Public Functions

void setParameters(bool isBSS, double b0, double pitch, double rsol, double rc, double d, double z0)
Vector3d getField(Vector3d pos) const
virtual 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