Class Cordes

Inheritance Relationships

Base Type

Class Documentation

class Cordes : public Density

zylindrical symetrical model of the density of ionised hydrogen (HII) of the Milkyway Cordes et al., 1991, Nature 353,737

Public Functions

double getDensity(const Vector3d &position) const

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

double getHIIDensity(const Vector3d &position) const

Return
density of ionised hydrogen in parts/m^3, equal getDensity thus no other type is included for Cordes
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

double getNucleonDensity(const Vector3d &position) const

Return
density of nucleons in parts/m^3, equal getDensity thus only HII is included for Cordes
Parameters
  • position: position in galactic coordinates with Earth at (-8.5kpc, 0, 0)

bool getIsForHI()

Return
activation status of HI

bool getIsForHII()

Return
activation status of HII

bool getIsForH2()

Return
activation status of H2

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

Protected Attributes

size_t _referenceCount