Class Nakanishi

Inheritance Relationships

Base Type

Class Documentation

class Nakanishi : public Density

zylindrical symetrical model of the density distribution of the Milkyway 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

double getDensity(const Vector3d &position) const

Return
density in parts/m^3, only acitvated parts are summed up
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

double getHIDensity(const Vector3d &position) const

Return
density of atomic hydrogen in parts/m^3
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

double getH2Density(const Vector3d &position) const

Return
density of molecular hydrogen in parts/m^3
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

double getNucleonDensity(const Vector3d &position) const

Return
nucleon density in parts/m^3, only activated parts are summed up and H2 is weighted twice
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

double getHIScaleheight(const Vector3d &position) const

the scaleheight over the galactic plane of atomic hydrogen is fitted by polynome of degree 3

Return
scaleheight at given position
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

double getHIPlanedensity(const Vector3d &position) const

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

Return
plane density in parts/m^3
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

double getH2Scaleheight(const Vector3d &position) const

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

Return
scaleheight at given position
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

double getH2Planedensity(const Vector3d &position) const

the plane density is fittet by two exponential components

Return
plane density in parts/m^3
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

void setIsForHI(bool HI)

changes activation status for atomic hydrogen

void setIsForH2(bool H2)

changes activation status for molecular hydrogen

bool getIsForHI()

Return
activation status for atomic hydrogen

bool getIsForHII()

Return
activation status for ionised hydrogen

bool getIsForH2()

Return
activation status for molecular hydrogen

std::string getDescription()
virtual double getHIIDensity(const Vector3d &position) const
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

size_t _referenceCount