Class RenormalizeMagneticField
Defined in File MagneticField.h
Inheritance Relationships
Base Type
public MagneticField
(Class MagneticField)
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)
Constructor
- Parameters:
field – magnetic field reference pointer
expression – muParser expression used to renormalize the field, e.g., “gauss”.
-
inline ~RenormalizeMagneticField()
-
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
-
RenormalizeMagneticField(ref_ptr<MagneticField> field, std::string expression)