Pulse adds COVID-19 Simulation Support
×

More...

#include <Hepatic.h>

Inherits PulseHepaticSystem.

Public Member Functions

virtual ~Hepatic ()
 
void Clear ()
 
void Initialize ()
 Initializes system properties to valid homeostatic values. More...
 
void SetUp ()
 Initializes parameters for the Hepatic Class. More...
 
void AtSteadyState ()
 Determines if the engine is stable. More...
 
void PreProcess ()
 Preprocess function. More...
 
void Process (bool solve_and_transport=true)
 Process function. More...
 
void PostProcess (bool solve_and_transport=true)
 PostProcess function. More...
 
- Public Member Functions inherited from PulseHepaticSystem
 PulseHepaticSystem (Logger *logger)
 
virtual ~PulseHepaticSystem ()=default
 
virtual const SEScalarGetScalar (const std::string &name) override
 
- Public Member Functions inherited from SEHepaticSystem
 SEHepaticSystem (Logger *logger)
 
virtual ~SEHepaticSystem ()
 
- Public Member Functions inherited from SESystem
 SESystem (Logger *logger)
 
virtual ~SESystem ()
 
- 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 Member Functions

 Hepatic (PulseData &data)
 
void ComputeExposedModelParameters () override
 

Protected Attributes

PulseDatam_data
 
- Protected Attributes inherited from SESystem
std::stringstream m_ss
 
- Protected Attributes inherited from Loggable
bool myLogger
 
Loggerm_Logger
 

Friends

class PulseData
 
class PBPulsePhysiology
 
class PulseEngineTest
 

Additional Inherited Members

- Static Public Member Functions inherited from SESystem
static const SEScalarGetScalar (const std::string &name, std::vector< SESystem *> *systems)
 
- Static Public Attributes inherited from Loggable
static const std::string empty
 

Detailed Description

Constructor & Destructor Documentation

◆ Hepatic()

Hepatic::Hepatic ( PulseData data)
protected

◆ ~Hepatic()

Hepatic::~Hepatic ( )
virtual

Member Function Documentation

◆ AtSteadyState()

void Hepatic::AtSteadyState ( )
virtual

Determines if the engine is stable.

When the engine is stable, the CDM makes this call to update the member variable.

Implements PulseSystem.

◆ Clear()

void Hepatic::Clear ( )
virtual

Reimplemented from SEHepaticSystem.

◆ ComputeExposedModelParameters()

void Hepatic::ComputeExposedModelParameters ( )
overrideprotectedvirtual

Implements PulseHepaticSystem.

◆ Initialize()

void Hepatic::Initialize ( )
virtual

Initializes system properties to valid homeostatic values.

For stabilization only! Called AFTER Setup when stabilizing a new patient

Reimplemented from PulseSystem.

◆ PostProcess()

void Hepatic::PostProcess ( bool  solve_and_transport = true)
virtual

PostProcess function.

Implements PulseSystem.

◆ PreProcess()

void Hepatic::PreProcess ( )
virtual

Preprocess function.

Implements PulseSystem.

◆ Process()

void Hepatic::Process ( bool  solve_and_transport = true)
virtual

Process function.

Implements PulseSystem.

◆ SetUp()

void Hepatic::SetUp ( )
virtual

Initializes parameters for the Hepatic Class.

Called during both State loading and Patient Stabilization Pull and setup up our data (can be from other systems) Initialize will be called after this and can overwrite any of this data (only if stabilizing)

Implements PulseSystem.

Friends And Related Function Documentation

◆ PBPulsePhysiology

friend class PBPulsePhysiology
friend

◆ PulseData

friend class PulseData
friend

◆ PulseEngineTest

friend class PulseEngineTest
friend

Member Data Documentation

◆ m_data

PulseData& Hepatic::m_data
protected

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.