Class Cordes

Inheritance Relationships

Base Type

Class Documentation

class Cordes : public Density

Cylindrical symetrical model of the density of ionised hydrogen (HII) of the Milky Way Cordes et al., 1991, Nature 353,737.

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

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

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

Returns:

density of ionised hydrogen in parts/m^3, equal getDensity thus no other type is included for Cordes

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

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

Returns:

density of nucleons in parts/m^3, equal getDensity thus only HII is included for Cordes

virtual bool getIsForHI()
Returns:

activation status of HI

virtual bool getIsForHII()
Returns:

activation status of HII

virtual bool getIsForH2()
Returns:

activation status of H2

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