Class MagneticFieldEvolution

Inheritance Relationships

Base Type

Class Documentation

class MagneticFieldEvolution : public MagneticField

Magnetic field decorator implementing an evolution of type (1+z)^m.

Public Functions

MagneticFieldEvolution(ref_ptr<MagneticField> field, double m)

Constructor

Parameters:
  • field – magnetic field reference pointer

  • m – cosmic evolution parameter

virtual Vector3d getField(const Vector3d &position, double z = 0) const
inline virtual Vector3d getField(const Vector3d &position) 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