Class RenormalizeMagneticField

Inheritance Relationships

Base Type

Class Documentation

class RenormalizeMagneticField : public MagneticField

Renormalize strength of a given field by expression in which B is the strength variable.

Public Functions

RenormalizeMagneticField(ref_ptr<MagneticField> field, std::string expression)
Vector3d getField(const Vector3d &position)
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