Building Medical Digital Twins with Pulse: Open Source Simulation Tools for Developers and Researchers
×
HepaticModel.h
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
3 
4 #pragma once
5 
6 #include "engine/common/system/Model.h"
7 #include "engine/common/system/Systems.h"
8 
9 namespace pulse
10 {
11  class PBPhysiology;
12  class EngineTest;
16  class PULSE_DECL HepaticModel : public HepaticSystem, public Model
17  {
18  friend PBPhysiology;//friend the serialization class
19  friend EngineTest;
20  public:
21  HepaticModel(Data& data);
22  virtual ~HepaticModel();
23 
24  void Clear() override;
25 
26  // Set members to a stable homeostatic state
27  void Initialize() override;
28  // Set pointers and other member varialbes common to both homeostatic initialization and loading a state
29  void SetUp() override;
30 
31  void AtSteadyState() override;
32  void PreProcess() override;
33  void Process(bool solve_and_transport = true) override;
34  void PostProcess(bool solve_and_transport = true) override;
35 
36  protected:
37  void ComputeExposedModelParameters() override;
38 
39  };
40 END_NAMESPACE
Definition: PBPhysiology.h:24
Definition: Logger.h:14

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.