#include <SEThermalBlackBox.h>

Inherits SEBlackBox< THERMAL_BLACK_BOX >.

Public Member Functions

virtual ~SEThermalBlackBox ()
 
- Public Member Functions inherited from SEBlackBox< THERMAL_BLACK_BOX >
virtual ~SEBlackBox ()
 
virtual void Clear ()
 
virtual std::string GetName () const
 
virtual void RemoveImposedPotential ()
 
virtual bool IsPotentialImposed () const
 
virtual void ImposePotential (double v, const PotentialUnit &unit)
 
virtual void ImposePotential (const PotentialScalar &s)
 
virtual double GetPotential (const PotentialUnit &unit) const
 
virtual void RemoveImposedSourcePotential ()
 
virtual bool IsSourcePotentialImposed () const
 
virtual void ImposeSourcePotential (double v, const PotentialUnit &unit)
 
virtual void ImposeSourcePotential (const PotentialScalar &s)
 
virtual double GetSourcePotential (const PotentialUnit &unit) const
 
virtual void RemoveImposedTargetPotential ()
 
virtual bool IsTargetPotentialImposed () const
 
virtual void ImposeTargetPotential (double v, const PotentialUnit &unit)
 
virtual void ImposeTargetPotential (const PotentialScalar &s)
 
virtual double GetTargetPotential (const PotentialUnit &unit) const
 
virtual void RemoveImposedSourceFlux ()
 
virtual bool IsSourceFluxImposed () const
 
virtual void ImposeSourceFlux (double v, const FluxUnit &unit)
 
virtual void ImposeSourceFlux (const FluxScalar &s)
 
virtual double GetSourceFlux (const FluxUnit &unit) const
 
virtual void RemoveImposedTargetFlux ()
 
virtual bool IsTargetFluxImposed () const
 
virtual void ImposeTargetFlux (double v, const FluxUnit &unit)
 
virtual void ImposeTargetFlux (const FluxScalar &s)
 
virtual double GetTargetFlux (const FluxUnit &unit) const
 
virtual void RemoveImposedQuantity ()
 
virtual bool IsQuantityImposed () const
 
virtual void ImposeQuantity (double v, const QuantityUnit &unit)
 
virtual void ImposeQuantity (const QuantityScalar &s)
 
virtual double GetQuantity (const QuantityUnit &unit) const
 
virtual bool HasMiddleNode () const
 
virtual NodeType * GetMiddleNode () const
 
virtual bool HasSourceNode () const
 
virtual NodeType * GetSourceNode () const
 
virtual bool HasTargetNode () const
 
virtual NodeType * GetTargetNode () const
 
virtual bool HasSourcePath () const
 
virtual PathType * GetSourcePath () const
 
virtual bool HasTargetPath () const
 
virtual PathType * GetTargetPath () 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) 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

 SEThermalBlackBox (const std::string &name, Logger *logger)
 
virtual bool HasCompartment () const
 
virtual SEThermalCompartmentGetCompartment () const
 
virtual void SetCompartment (SEThermalCompartment *c)
 
virtual bool HasSourceCompartment () const
 
virtual SEThermalCompartmentGetSourceCompartment () const
 
virtual void SetSourceCompartment (SEThermalCompartment *c)
 
virtual bool HasTargetCompartment () const
 
virtual SEThermalCompartmentGetTargetCompartment () const
 
virtual void SetTargetCompartment (SEThermalCompartment *c)
 
virtual bool HasSourceLink () const
 
virtual SEThermalCompartmentLinkGetSourceLink () const
 
virtual void SetSourceLink (SEThermalCompartmentLink *l)
 
virtual bool HasTargetLink () const
 
virtual SEThermalCompartmentLinkGetTargetLink () const
 
virtual void SetTargetLink (SEThermalCompartmentLink *l)
 
- Protected Member Functions inherited from SEBlackBox< THERMAL_BLACK_BOX >
 SEBlackBox (const std::string &name, Logger *logger)
 
virtual void SetMiddleNode (NodeType *n)
 
virtual void SetSourceNode (NodeType *n)
 
virtual void SetTargetNode (NodeType *n)
 
virtual void SetSourcePath (PathType *p)
 
virtual void SetTargetPath (PathType *p)
 

Protected Attributes

SEThermalCompartmentm_Compartment = nullptr
 
SEThermalCompartmentm_srcCompartment = nullptr
 
SEThermalCompartmentm_tgtCompartment = nullptr
 
SEThermalCompartmentLinkm_srcLink = nullptr
 
SEThermalCompartmentLinkm_tgtLink = nullptr
 
- Protected Attributes inherited from SEBlackBox< THERMAL_BLACK_BOX >
std::string m_Name
 
NodeType * m_MiddleNode
 
NodeType * m_SourceNode
 
NodeType * m_TargetNode
 
PathType * m_SourcePath
 
PathType * m_TargetPath
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class SEBlackBoxManager
 
class CommonDataModelTest
 

Constructor & Destructor Documentation

◆ SEThermalBlackBox()

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

◆ ~SEThermalBlackBox()

SEThermalBlackBox::~SEThermalBlackBox ( )
virtual

Member Function Documentation

◆ GetCompartment()

virtual SEThermalCompartment * SEThermalBlackBox::GetCompartment ( ) const
inlineprotectedvirtual

◆ GetSourceCompartment()

virtual SEThermalCompartment * SEThermalBlackBox::GetSourceCompartment ( ) const
inlineprotectedvirtual

◆ GetSourceLink()

virtual SEThermalCompartmentLink * SEThermalBlackBox::GetSourceLink ( ) const
inlineprotectedvirtual

◆ GetTargetCompartment()

virtual SEThermalCompartment * SEThermalBlackBox::GetTargetCompartment ( ) const
inlineprotectedvirtual

◆ GetTargetLink()

virtual SEThermalCompartmentLink * SEThermalBlackBox::GetTargetLink ( ) const
inlineprotectedvirtual

◆ HasCompartment()

virtual bool SEThermalBlackBox::HasCompartment ( ) const
inlineprotectedvirtual

◆ HasSourceCompartment()

virtual bool SEThermalBlackBox::HasSourceCompartment ( ) const
inlineprotectedvirtual

◆ HasSourceLink()

virtual bool SEThermalBlackBox::HasSourceLink ( ) const
inlineprotectedvirtual

◆ HasTargetCompartment()

virtual bool SEThermalBlackBox::HasTargetCompartment ( ) const
inlineprotectedvirtual

◆ HasTargetLink()

virtual bool SEThermalBlackBox::HasTargetLink ( ) const
inlineprotectedvirtual

◆ SetCompartment()

virtual void SEThermalBlackBox::SetCompartment ( SEThermalCompartment c)
inlineprotectedvirtual

◆ SetSourceCompartment()

virtual void SEThermalBlackBox::SetSourceCompartment ( SEThermalCompartment c)
inlineprotectedvirtual

◆ SetSourceLink()

virtual void SEThermalBlackBox::SetSourceLink ( SEThermalCompartmentLink l)
inlineprotectedvirtual

◆ SetTargetCompartment()

virtual void SEThermalBlackBox::SetTargetCompartment ( SEThermalCompartment c)
inlineprotectedvirtual

◆ SetTargetLink()

virtual void SEThermalBlackBox::SetTargetLink ( SEThermalCompartmentLink l)
inlineprotectedvirtual

Friends And Related Function Documentation

◆ CommonDataModelTest

friend class CommonDataModelTest
friend

◆ SEBlackBoxManager

friend class SEBlackBoxManager
friend

Member Data Documentation

◆ m_Compartment

SEThermalCompartment* SEThermalBlackBox::m_Compartment = nullptr
protected

◆ m_srcCompartment

SEThermalCompartment* SEThermalBlackBox::m_srcCompartment = nullptr
protected

◆ m_srcLink

SEThermalCompartmentLink* SEThermalBlackBox::m_srcLink = nullptr
protected

◆ m_tgtCompartment

SEThermalCompartment* SEThermalBlackBox::m_tgtCompartment = nullptr
protected

◆ m_tgtLink

SEThermalCompartmentLink* SEThermalBlackBox::m_tgtLink = nullptr
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.