Class Density

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class Density : public Referenced

Abstract base class for targetdensity.

Subclassed by ConstantDensity, Cordes, DensityList, Ferriere, Nakanishi

Public Functions

virtual ~Density()
virtual double getDensity(const Vector3d &position) const
virtual double getHIDensity(const Vector3d &position) const
virtual double getHIIDensity(const Vector3d &position) const
virtual double getH2Density(const Vector3d &position) const
virtual double getNucleonDensity(const Vector3d &position) const
virtual bool getIsForHI()
virtual bool getIsForHII()
virtual bool getIsForH2()
size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Attributes

size_t _referenceCount