Class ModulatedMagneticFieldGrid¶
- Defined in File MagneticFieldGrid.h
Inheritance Relationships¶
Base Type¶
public MagneticField
(Class MagneticField)
Class Documentation¶
-
class
ModulatedMagneticFieldGrid
: public MagneticField¶ Modulated magnetic field on a periodic grid.
This class wraps a VectorGrid to serve as a MagneticField. The field is modulated on-the-fly with a ScalarGrid. The VectorGrid and ScalarGrid do not need to share the same origin, spacing or size.
Public Functions
-
ModulatedMagneticFieldGrid
()¶
-
std::shared_ptr<VectorGrid>
getGrid
()
-
std::shared_ptr<ScalarGrid>
getModulationGrid
()¶
-
void
setReflective
(bool gridReflective, bool modGridReflective)¶
-
virtual Vector3QMField
getField
(const Vector3QLength &position) const
-