Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members  
  SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE > Class Template Reference
  #include <SEFluidCompartment.h>
Inheritance diagram for SEFluidCompartment< FLUID_COMPARTMENT_TEMPLATE >:
 
  
| Public Member Functions | |
| virtual | ~SEFluidCompartment () | 
| void | Clear () override | 
| std::string | GetName () const override | 
| const SEScalar * | GetScalar (const std::string &name) override | 
| bool | HasChildren () const override | 
| virtual bool | HasNodeMapping () const | 
| virtual SECompartmentNodes< FLUID_COMPARTMENT_NODE > & | GetNodeMapping () | 
| virtual void | MapNode (SEFluidCircuitNode &node) | 
| virtual void | Sample (bool CycleStart) | 
| virtual void | SampleFlow () | 
| virtual bool | HasInFlow () const | 
| virtual const SEScalarVolumePerTime & | GetInFlow () const | 
| virtual double | GetInFlow (const VolumePerTimeUnit &unit) const | 
| virtual bool | HasAverageInFlow () const | 
| virtual const SEScalarVolumePerTime & | GetAverageInFlow () const | 
| virtual double | GetAverageInFlow (const VolumePerTimeUnit &unit) const | 
| virtual bool | HasOutFlow () const | 
| virtual const SEScalarVolumePerTime & | GetOutFlow () const | 
| virtual double | GetOutFlow (const VolumePerTimeUnit &unit) const | 
| virtual bool | HasAverageOutFlow () const | 
| virtual const SEScalarVolumePerTime & | GetAverageOutFlow () const | 
| virtual double | GetAverageOutFlow (const VolumePerTimeUnit &unit) const | 
| virtual bool | HasPressure () const | 
| virtual SEScalarPressure & | GetPressure () | 
| virtual double | GetPressure (const PressureUnit &unit) const | 
| virtual bool | HasVolume () const | 
| virtual SEScalarVolume & | GetVolume () | 
| virtual double | GetVolume (const VolumeUnit &unit) const | 
| virtual bool | HasSubstanceQuantities () const | 
| virtual bool | HasSubstanceQuantity (const SESubstance &substance) const | 
| virtual SubstanceQuantityType * | GetSubstanceQuantity (const SESubstance &substance) const | 
| virtual const std::vector< SubstanceQuantityType * > & | GetSubstanceQuantities () const | 
| virtual void | ZeroSubstanceQuantities () | 
| virtual void | AddLink (LinkType &link) | 
| virtual void | RemoveLink (LinkType &link) | 
| virtual void | RemoveLinks () | 
| virtual const std::vector< LinkType * > & | GetLinks () | 
| virtual bool | HasChild (const SEFluidCompartment &cmpt) | 
|  Public Member Functions inherited from SECompartment | |
| virtual | ~SECompartment () | 
| virtual void | StateChange ()=0 | 
|  Public Member Functions inherited from Loggable | |
| Loggable (Logger *logger=nullptr) | |
| Loggable (std::string const &logfile) | |
| virtual | ~Loggable () | 
| virtual Logger * | GetLogger () const | 
| virtual void | SetLogger (Logger &logger) | 
| virtual void | Debug (std::string const &msg) const | 
| virtual void | Debug (std::stringstream &msg) const | 
| virtual void | Debug (std::ostream &msg) const | 
| virtual void | Info (std::string const &msg) const | 
| virtual void | Info (std::stringstream &msg) const | 
| virtual void | Info (const std::stringstream &msg) const | 
| virtual void | Info (std::ostream &msg) const | 
| virtual void | Warning (std::string const &msg) const | 
| virtual void | Warning (std::stringstream &msg) const | 
| virtual void | Warning (std::ostream &msg) const | 
| virtual void | Error (std::string const &msg) const | 
| virtual void | Error (std::stringstream &msg) const | 
| virtual void | Error (std::ostream &msg) const | 
| virtual void | Fatal (std::string const &msg) const | 
| virtual void | Fatal (std::stringstream &msg) const | 
| virtual void | Fatal (std::ostream &msg) const | 
| Protected Member Functions | |
| SEFluidCompartment (const std::string &name, Logger *logger) | |
| virtual void | RemoveSubstanceQuantity (const SESubstance &substance) | 
| bool | HasQuantity () const override | 
| SEScalarVolume & | GetQuantity () override | 
| virtual double | CalculateInFlow_mL_Per_s () const | 
| virtual double | CalculateOutFlow_mL_Per_s () const | 
| std::vector< TransportSubstanceType * > & | GetTransportSubstances () override | 
|  Protected Member Functions inherited from SECompartment | |
| SECompartment (const std::string &name, Logger *logger) | |
| Protected Attributes | |
| SEScalarVolumePerTime * | m_InFlow | 
| SEScalarVolumePerTime * | m_OutFlow | 
| bool | m_SampleFlow | 
| SEScalarVolumePerTime * | m_AverageInFlow | 
| SEScalarVolumePerTime * | m_AverageOutFlow | 
| SERunningAverage * | m_AverageInFlow_mL_Per_s | 
| SERunningAverage * | m_AverageOutFlow_mL_Per_s | 
| SEScalarPressure * | m_Pressure | 
| SEScalarVolume * | m_Volume | 
| std::vector< SubstanceQuantityType * > | m_SubstanceQuantities | 
| std::vector< TransportSubstanceType * > | m_TransportSubstances | 
| std::vector< LinkType * > | m_Links | 
| std::vector< LinkType * > | m_IncomingLinks | 
| std::vector< LinkType * > | m_OutgoingLinks | 
| std::vector< SEFluidCompartment * > | m_FluidChildren | 
| SECompartmentNodes< FLUID_COMPARTMENT_NODE > | m_Nodes | 
|  Protected Attributes inherited from SECompartment | |
| std::string | m_Name | 
|  Protected Attributes inherited from Loggable | |
| bool | myLogger | 
| Logger * | m_Logger | 
| Friends | |
| class | PBCompartment | 
| template<typename CompartmentType , typename CompartmentLinkType > | |
| class | SECompartmentGraph | 
| Additional Inherited Members | |
|  Static Public Member Functions inherited from SECompartment | |
| template<typename CompartmentType > | |
| static void | FindLeaves (CompartmentType &cmpt, std::vector< CompartmentType * > &leaves) | 
Constructor & Destructor Documentation
◆ SEFluidCompartment()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ ~SEFluidCompartment()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
Member Function Documentation
◆ AddLink()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ CalculateInFlow_mL_Per_s()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protectedvirtual | 
◆ CalculateOutFlow_mL_Per_s()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protectedvirtual | 
◆ Clear()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | overridevirtual | 
Reimplemented from SECompartment.
◆ GetAverageInFlow() [1/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetAverageInFlow() [2/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetAverageOutFlow() [1/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetAverageOutFlow() [2/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetInFlow() [1/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetInFlow() [2/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetLinks()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetName()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | inlineoverridevirtual | 
Reimplemented from SECompartment.
◆ GetNodeMapping()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | inlinevirtual | 
◆ GetOutFlow() [1/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetOutFlow() [2/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetPressure() [1/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetPressure() [2/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetQuantity()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | inlineoverrideprotected | 
◆ GetScalar()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | overridevirtual | 
Implements SECompartment.
◆ GetSubstanceQuantities()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetSubstanceQuantity()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetTransportSubstances()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | inlineoverrideprotected | 
◆ GetVolume() [1/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ GetVolume() [2/2]
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasAverageInFlow()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasAverageOutFlow()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasChild()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasChildren()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | inlineoverridevirtual | 
Implements SECompartment.
◆ HasInFlow()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasNodeMapping()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | inlinevirtual | 
◆ HasOutFlow()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasPressure()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasQuantity()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | inlineoverrideprotected | 
◆ HasSubstanceQuantities()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasSubstanceQuantity()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ HasVolume()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ MapNode()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ RemoveLink()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ RemoveLinks()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ RemoveSubstanceQuantity()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protectedvirtual | 
◆ Sample()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ SampleFlow()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
◆ ZeroSubstanceQuantities()
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | virtual | 
Friends And Related Function Documentation
◆ PBCompartment
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | friend | 
◆ SECompartmentGraph
template<FLUID_COMPARTMENT_TEMPLATE > 
template<typename CompartmentType , typename CompartmentLinkType > 
| 
 | friend | 
Member Data Documentation
◆ m_AverageInFlow
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | mutableprotected | 
◆ m_AverageInFlow_mL_Per_s
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | mutableprotected | 
◆ m_AverageOutFlow
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | mutableprotected | 
◆ m_AverageOutFlow_mL_Per_s
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | mutableprotected | 
◆ m_FluidChildren
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_IncomingLinks
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_InFlow
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | mutableprotected | 
◆ m_Links
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_Nodes
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_OutFlow
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | mutableprotected | 
◆ m_OutgoingLinks
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_Pressure
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_SampleFlow
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_SubstanceQuantities
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_TransportSubstances
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
◆ m_Volume
template<FLUID_COMPARTMENT_TEMPLATE > 
| 
 | protected | 
