#include <SEGasSubstanceQuantity.h>

Inherits SESubstanceQuantity, and SESubstanceTransportAmount< ExtensiveScalar, IntensiveScalar >.

Public Member Functions

virtual ~SEGasSubstanceQuantity ()
 
virtual void Clear ()
 
virtual void Invalidate ()
 
virtual void SetToZero ()
 
virtual const SEScalarGetScalar (const std::string &name)
 
virtual bool HasPartialPressure () const
 
virtual SEScalarPressureGetPartialPressure ()
 
virtual double GetPartialPressure (const PressureUnit &unit) const
 
virtual bool HasVolume () const
 
virtual SEScalarVolumeGetVolume ()
 
virtual double GetVolume (const VolumeUnit &unit) const
 
virtual bool HasVolumeFraction () const
 
virtual SEScalar0To1GetVolumeFraction ()
 
virtual double GetVolumeFraction () const
 
- Public Member Functions inherited from SESubstanceQuantity
 SESubstanceQuantity (SESubstance &sub)
 
virtual ~SESubstanceQuantity ()
 
virtual SESubstanceGetSubstance () const
 
- Public Member Functions inherited from Loggable
 Loggable ()
 
 Loggable (Logger *log)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void Debug (std::string const &msg, std::string const &origin=empty) const
 
virtual void Debug (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Debug (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Info (std::string const &msg, std::string const &origin=empty) const
 
virtual void Info (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (const std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Info (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::string const &msg, std::string const &origin=empty) const
 
virtual void Warning (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Warning (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Error (std::string const &msg, std::string const &origin=empty) const
 
virtual void Error (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Error (std::ostream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::string const &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::stringstream &msg, std::string const &origin=empty) const
 
virtual void Fatal (std::ostream &msg, std::string const &origin=empty) const
 
- Public Member Functions inherited from SESubstanceTransportAmount< ExtensiveScalar, IntensiveScalar >
virtual ~SESubstanceTransportAmount ()
 

Protected Member Functions

 SEGasSubstanceQuantity (SESubstance &sub, SEGasCompartment &compartment)
 
virtual void AddChild (SEGasSubstanceQuantity &subQ)
 
virtual bool HasExtensive () const
 
virtual SEScalarVolumeGetExtensive ()
 
virtual bool HasIntensive () const
 
virtual SEScalar0To1GetIntensive ()
 

Protected Attributes

SEScalarPressurem_PartialPressure
 
SEScalarVolumem_Volume
 
SEScalar0To1m_VolumeFraction
 
SEGasCompartmentm_Compartment
 
std::vector< SEGasSubstanceQuantity * > m_Children
 
- Protected Attributes inherited from SESubstanceQuantity
SESubstancem_Substance
 
- Protected Attributes inherited from Loggable
Loggerm_Logger
 

Friends

class PBSubstanceQuantity
 
class SEGasCompartment
 

Additional Inherited Members

- Static Public Attributes inherited from Loggable
static const std::string empty
 

Constructor & Destructor Documentation

◆ SEGasSubstanceQuantity()

SEGasSubstanceQuantity::SEGasSubstanceQuantity ( SESubstance sub,
SEGasCompartment compartment 
)
protected

◆ ~SEGasSubstanceQuantity()

SEGasSubstanceQuantity::~SEGasSubstanceQuantity ( )
virtual

Member Function Documentation

◆ AddChild()

void SEGasSubstanceQuantity::AddChild ( SEGasSubstanceQuantity subQ)
protectedvirtual

◆ Clear()

void SEGasSubstanceQuantity::Clear ( )
virtual

Implements SESubstanceQuantity.

◆ GetExtensive()

virtual SEScalarVolume& SEGasSubstanceQuantity::GetExtensive ( )
inlineprotectedvirtual

◆ GetIntensive()

virtual SEScalar0To1& SEGasSubstanceQuantity::GetIntensive ( )
inlineprotectedvirtual

◆ GetPartialPressure() [1/2]

SEScalarPressure & SEGasSubstanceQuantity::GetPartialPressure ( )
virtual

◆ GetPartialPressure() [2/2]

double SEGasSubstanceQuantity::GetPartialPressure ( const PressureUnit unit) const
virtual

◆ GetScalar()

const SEScalar * SEGasSubstanceQuantity::GetScalar ( const std::string &  name)
virtual

Implements SESubstanceQuantity.

◆ GetVolume() [1/2]

SEScalarVolume & SEGasSubstanceQuantity::GetVolume ( )
virtual

◆ GetVolume() [2/2]

double SEGasSubstanceQuantity::GetVolume ( const VolumeUnit unit) const
virtual

◆ GetVolumeFraction() [1/2]

SEScalar0To1 & SEGasSubstanceQuantity::GetVolumeFraction ( )
virtual

◆ GetVolumeFraction() [2/2]

double SEGasSubstanceQuantity::GetVolumeFraction ( ) const
virtual

◆ HasExtensive()

virtual bool SEGasSubstanceQuantity::HasExtensive ( ) const
inlineprotectedvirtual

◆ HasIntensive()

virtual bool SEGasSubstanceQuantity::HasIntensive ( ) const
inlineprotectedvirtual

◆ HasPartialPressure()

bool SEGasSubstanceQuantity::HasPartialPressure ( ) const
virtual

◆ HasVolume()

bool SEGasSubstanceQuantity::HasVolume ( ) const
virtual

◆ HasVolumeFraction()

bool SEGasSubstanceQuantity::HasVolumeFraction ( ) const
virtual

◆ Invalidate()

void SEGasSubstanceQuantity::Invalidate ( )
virtual

Implements SESubstanceQuantity.

◆ SetToZero()

void SEGasSubstanceQuantity::SetToZero ( )
virtual

Implements SESubstanceQuantity.

Friends And Related Function Documentation

◆ PBSubstanceQuantity

friend class PBSubstanceQuantity
friend

◆ SEGasCompartment

friend class SEGasCompartment
friend

Member Data Documentation

◆ m_Children

std::vector<SEGasSubstanceQuantity*> SEGasSubstanceQuantity::m_Children
protected

◆ m_Compartment

SEGasCompartment& SEGasSubstanceQuantity::m_Compartment
protected

◆ m_PartialPressure

SEScalarPressure* SEGasSubstanceQuantity::m_PartialPressure
protected

◆ m_Volume

SEScalarVolume* SEGasSubstanceQuantity::m_Volume
protected

◆ m_VolumeFraction

SEScalar0To1* SEGasSubstanceQuantity::m_VolumeFraction
protected