#include <SEFluidCircuitNode.h>

Inherits SECircuitNode< FLUID_CIRCUIT_NODE >.

Public Member Functions

virtual ~SEFluidCircuitNode ()
 
void Clear () override
 
virtual bool HasPressure () const
 
virtual SEScalarPressureGetPressure ()
 
virtual double GetPressure (const PressureUnit &unit) const
 
virtual bool HasNextPressure () const
 
virtual SEScalarPressureGetNextPressure ()
 
virtual double GetNextPressure (const PressureUnit &unit) const
 
virtual bool HasVolume () const
 
virtual SEScalarVolumeGetVolume ()
 
virtual double GetVolume (const VolumeUnit &unit) const
 
virtual bool HasNextVolume () const
 
virtual SEScalarVolumeGetNextVolume ()
 
virtual double GetNextVolume (const VolumeUnit &unit) const
 
virtual bool HasVolumeBaseline () const
 
virtual SEScalarVolumeGetVolumeBaseline ()
 
virtual double GetVolumeBaseline (const VolumeUnit &unit) const
 
SEFluidCircuitNodeGetBlackBoxSourceNode () const
 
SEFluidCircuitNodeGetBlackBoxTargetNode () const
 
void SetBlackBoxSourceTargetNodes (SEFluidCircuitNode &src, SEFluidCircuitNode &tgt)
 
SEFluidCircuitPathGetBlackBoxSourcePath () const
 
SEFluidCircuitPathGetBlackBoxTargetPath () const
 
void SetBlackBoxSourceTargetPaths (SEFluidCircuitPath &src, SEFluidCircuitPath &tgt)
 
- Public Member Functions inherited from SECircuitNode< FLUID_CIRCUIT_NODE >
virtual ~SECircuitNode ()
 
virtual void Clear ()
 
virtual std::string GetName () const
 
virtual bool IsPartOfBlackBox () const
 
virtual void SetPartOfBlackBox (bool b)
 
virtual bool IsBlackBoxMiddle () const
 
virtual bool HasPotential () const
 
virtual PotentialScalar & GetPotential ()
 
virtual bool HasNextPotential () const
 
virtual PotentialScalar & GetNextPotential ()
 
virtual void RemoveImposedPotential ()
 
virtual bool IsPotentialImposed () const
 
virtual void ImposePotential (const PotentialScalar &s)
 
virtual void ImposePotential (double v, const PotentialUnit &unit)
 
virtual bool HasQuantity () const
 
virtual QuantityScalar & GetQuantity ()
 
virtual bool HasNextQuantity () const
 
virtual QuantityScalar & GetNextQuantity ()
 
virtual bool HasQuantityBaseline () const
 
virtual QuantityScalar & GetQuantityBaseline ()
 
virtual void RemoveImposedQuantity ()
 
virtual bool IsQuantityImposed () const
 
virtual void ImposeQuantity (const QuantityScalar &s)
 
virtual void ImposeQuantity (double v, const QuantityUnit &unit)
 
void SetCalculatorIndex (const int index)
 
int GetCalculatorIndex () const
 
bool IsReferenceNode () const
 
void SetAsReferenceNode ()
 
void RemoveAsReferenceNode ()
 
- 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) 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

 SEFluidCircuitNode (const std::string &name, Logger *logger)
 
- Protected Member Functions inherited from SECircuitNode< FLUID_CIRCUIT_NODE >
 SECircuitNode (const std::string &name, Logger *logger)
 

Protected Attributes

SEFluidCircuitNodem_BlackBoxSourceNode =nullptr
 
SEFluidCircuitNodem_BlackBoxTargetNode =nullptr
 
SEFluidCircuitPathm_BlackBoxSourcePath = nullptr
 
SEFluidCircuitPathm_BlackBoxTargetPath = nullptr
 
- Protected Attributes inherited from SECircuitNode< FLUID_CIRCUIT_NODE >
std::string m_Name
 
bool m_IsPartOfBlackBox
 
bool m_IsBlackBoxMiddle
 
PotentialScalar * m_Potential
 
PotentialScalar * m_NextPotential
 
eBlackBox_Property_Type m_PotentialType
 
QuantityScalar * m_Quantity
 
QuantityScalar * m_NextQuantity
 
QuantityScalar * m_QuantityBaseline
 
eBlackBox_Property_Type m_QuantityType
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PBCircuit
 
class SECircuitManager
 

Constructor & Destructor Documentation

◆ SEFluidCircuitNode()

SEFluidCircuitNode::SEFluidCircuitNode ( const std::string &  name,
Logger logger 
)
protected

◆ ~SEFluidCircuitNode()

SEFluidCircuitNode::~SEFluidCircuitNode ( )
virtual

Member Function Documentation

◆ Clear()

void SEFluidCircuitNode::Clear ( )
overridevirtual

◆ GetBlackBoxSourceNode()

SEFluidCircuitNode * SEFluidCircuitNode::GetBlackBoxSourceNode ( ) const

◆ GetBlackBoxSourcePath()

SEFluidCircuitPath * SEFluidCircuitNode::GetBlackBoxSourcePath ( ) const

◆ GetBlackBoxTargetNode()

SEFluidCircuitNode * SEFluidCircuitNode::GetBlackBoxTargetNode ( ) const

◆ GetBlackBoxTargetPath()

SEFluidCircuitPath * SEFluidCircuitNode::GetBlackBoxTargetPath ( ) const

◆ GetNextPressure() [1/2]

SEScalarPressure & SEFluidCircuitNode::GetNextPressure ( )
virtual

◆ GetNextPressure() [2/2]

double SEFluidCircuitNode::GetNextPressure ( const PressureUnit unit) const
virtual

◆ GetNextVolume() [1/2]

SEScalarVolume & SEFluidCircuitNode::GetNextVolume ( )
virtual

◆ GetNextVolume() [2/2]

double SEFluidCircuitNode::GetNextVolume ( const VolumeUnit unit) const
virtual

◆ GetPressure() [1/2]

SEScalarPressure & SEFluidCircuitNode::GetPressure ( )
virtual

◆ GetPressure() [2/2]

double SEFluidCircuitNode::GetPressure ( const PressureUnit unit) const
virtual

◆ GetVolume() [1/2]

SEScalarVolume & SEFluidCircuitNode::GetVolume ( )
virtual

◆ GetVolume() [2/2]

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

◆ GetVolumeBaseline() [1/2]

SEScalarVolume & SEFluidCircuitNode::GetVolumeBaseline ( )
virtual

◆ GetVolumeBaseline() [2/2]

double SEFluidCircuitNode::GetVolumeBaseline ( const VolumeUnit unit) const
virtual

◆ HasNextPressure()

bool SEFluidCircuitNode::HasNextPressure ( ) const
virtual

◆ HasNextVolume()

bool SEFluidCircuitNode::HasNextVolume ( ) const
virtual

◆ HasPressure()

bool SEFluidCircuitNode::HasPressure ( ) const
virtual

◆ HasVolume()

bool SEFluidCircuitNode::HasVolume ( ) const
virtual

◆ HasVolumeBaseline()

bool SEFluidCircuitNode::HasVolumeBaseline ( ) const
virtual

◆ SetBlackBoxSourceTargetNodes()

void SEFluidCircuitNode::SetBlackBoxSourceTargetNodes ( SEFluidCircuitNode src,
SEFluidCircuitNode tgt 
)

◆ SetBlackBoxSourceTargetPaths()

void SEFluidCircuitNode::SetBlackBoxSourceTargetPaths ( SEFluidCircuitPath src,
SEFluidCircuitPath tgt 
)

Friends And Related Function Documentation

◆ PBCircuit

friend class PBCircuit
friend

◆ SECircuitManager

friend class SECircuitManager
friend

Member Data Documentation

◆ m_BlackBoxSourceNode

SEFluidCircuitNode* SEFluidCircuitNode::m_BlackBoxSourceNode =nullptr
protected

◆ m_BlackBoxSourcePath

SEFluidCircuitPath* SEFluidCircuitNode::m_BlackBoxSourcePath = nullptr
protected

◆ m_BlackBoxTargetNode

SEFluidCircuitNode* SEFluidCircuitNode::m_BlackBoxTargetNode =nullptr
protected

◆ m_BlackBoxTargetPath

SEFluidCircuitPath* SEFluidCircuitNode::m_BlackBoxTargetPath = nullptr
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.