Class Nakanishi

Inheritance Relationships

Base Type

Class Documentation

class Nakanishi : public Density

Cylindrical symetrical model of the density distribution of the Milky Way for atomic (HI) and molecular (H2) hydrogen Modell for HI arXiv:astro-ph/0304338 Modell for H2 arxiv:astro-ph/0610769 fit of the models given in arXiv:1607.07886.

Public Functions

virtual double getDensity(const Vector3d &position) const
Parameters:

position – position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

Returns:

density in parts/m^3, only activated parts are summed up

virtual double getHIDensity(const Vector3d &position) const
Parameters:

position – position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

Returns:

density of atomic hydrogen in parts/m^3

virtual double getH2Density(const Vector3d &position) const
Parameters:

position – position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

Returns:

density of molecular hydrogen in parts/m^3

virtual double getNucleonDensity(const Vector3d &position) const
Parameters:

position – position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

Returns:

nucleon density in parts/m^3, only activated parts are summed up and H2 is weighted twice

double getHIScaleheight(const Vector3d &position) const

the scale height over the galactic plane of atomic hydrogen is fitted by polynom of degree 3

Parameters:

position – position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

Returns:

scale height at given position

double getHIPlanedensity(const Vector3d &position) const

the plane density is fittet by two exponential components with e^-R and e^-(R^2)

Parameters:

position – position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

Returns:

plane density in parts/m^3

double getH2Scaleheight(const Vector3d &position) const

the scale height over the galactic plane of molecular hydrogen is fitted by exponential function

Parameters:

position – position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

Returns:

scale height at given position

double getH2Planedensity(const Vector3d &position) const

the plane density is fitted by two exponential components

Parameters:

position – position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

Returns:

plane density in parts/m^3

void setIsForHI(bool HI)

changes activation status for atomic hydrogen

void setIsForH2(bool H2)

changes activation status for molecular hydrogen

virtual bool getIsForHI()
Returns:

activation status for atomic hydrogen

virtual bool getIsForHII()
Returns:

activation status for ionised hydrogen

virtual bool getIsForH2()
Returns:

activation status for molecular hydrogen

virtual std::string getDescription()
inline virtual double getHIIDensity(const Vector3d &position) const
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