Class Sun08Field¶
- Defined in File Sun08Field.h
Inheritance Relationships¶
Base Type¶
public MagneticField(Class MagneticField)
Class Documentation¶
-
class
Sun08Field: public MagneticField¶ Implemented the galactic magnetic field model used in 3-year WMAP analyses.
See: L. Page et al 2007 ApJS 170 335, https://iopscience.iop.org/article/10.1086/513699
Public Functions
-
Sun08Field()¶
-
void
randomTurbulent(int seed = 0)
Set a turbulent grid and activate the turbulent field component
- Parameters
grid: vector grid containing a random field of Brms = 1
-
std::shared_ptr<VectorGrid>
getTurbulentGrid()
-
void
setUseTurbulent(bool use)
-
void
setUseHalo(bool use)
-
bool
isUsingTurbulent() const
-
bool
isUsingHalo() const¶
-
Vector3QMField
getRegularField(const Vector3QLength &pos) const
-
Vector3QMField
getTurbulentField(const Vector3QLength &pos) const
-
Vector3QMField
getField(const Vector3QLength &pos) const
-