Pulse adds COVID-19 Simulation Support
×

#include <SESubstanceConcentration.h>

Inherits Loggable.

Public Member Functions

 SESubstanceConcentration (const SESubstance &substance)
 
virtual ~SESubstanceConcentration ()
 
virtual void Clear ()
 
virtual bool HasConcentration () const
 
virtual SEScalarMassPerVolumeGetConcentration ()
 
virtual double GetConcentration (const MassPerVolumeUnit &unit) const
 
virtual const SESubstanceGetSubstance () const
 
- Public Member Functions inherited from Loggable
 Loggable (Logger *logger=nullptr)
 
 Loggable (std::string const &logfile)
 
virtual ~Loggable ()
 
virtual LoggerGetLogger () const
 
virtual void SetLogger (Logger &logger)
 
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
 
std::string to_string (int i)
 
std::string to_string (unsigned int i)
 
std::string to_string (size_t t)
 
std::string to_string (float f)
 
std::string to_string (double d)
 

Protected Attributes

const SESubstancem_Substance
 
SEScalarMassPerVolumem_Concentration
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Private Attributes

friend SEEnvironmentalConditions
 

Friends

class PBSubstance
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SESubstanceConcentration()

SESubstanceConcentration::SESubstanceConcentration ( const SESubstance substance)

◆ ~SESubstanceConcentration()

SESubstanceConcentration::~SESubstanceConcentration ( )
virtual

Member Function Documentation

◆ Clear()

void SESubstanceConcentration::Clear ( )
virtual

◆ GetConcentration() [1/2]

SEScalarMassPerVolume & SESubstanceConcentration::GetConcentration ( )
virtual

◆ GetConcentration() [2/2]

double SESubstanceConcentration::GetConcentration ( const MassPerVolumeUnit unit) const
virtual

◆ GetSubstance()

const SESubstance & SESubstanceConcentration::GetSubstance ( ) const
virtual

◆ HasConcentration()

bool SESubstanceConcentration::HasConcentration ( ) const
virtual

Friends And Related Function Documentation

◆ PBSubstance

friend class PBSubstance
friend

Member Data Documentation

◆ m_Concentration

SEScalarMassPerVolume* SESubstanceConcentration::m_Concentration
protected

◆ m_Substance

const SESubstance& SESubstanceConcentration::m_Substance
protected

◆ SEEnvironmentalConditions

friend SESubstanceConcentration::SEEnvironmentalConditions
private

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.