Class MagneticFieldGrid
Defined in File MagneticFieldGrid.h
Inheritance Relationships
Base Type
public MagneticField
(Class MagneticField)
Class Documentation
-
class MagneticFieldGrid : public MagneticField
Magnetic field on a periodic (or reflective), cartesian grid with trilinear interpolation.
This class wraps a Grid3f to serve as a MagneticField.
Public Functions
-
MagneticFieldGrid(ref_ptr<Grid3f> grid)
Constructor
- Parameters:
grid – Grid3f storing the magnetic field vectors
-
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
-
MagneticFieldGrid(ref_ptr<Grid3f> grid)