CellModules
|
Class for managing spherical oxygen diffusion. More...
#include <PluginGrimesOxygen.hpp>
Public Member Functions | |
PluginGrimesOxygen ()=default | |
Default constructor. More... | |
PluginGrimesOxygen (SpheroidManager::PluginSpheroidManager< cell_t > *sm) | |
Constructor with spheroid manager. More... | |
void | setPo (double p) |
Sets the external partial pressure of oxygen. More... | |
void | setOxygenConsumption (double c) |
Sets the oxygen consumption rate. More... | |
void | setDiffusionConstant (double d) |
Sets the diffusion constant. More... | |
void | setOmega (double om) |
Sets the Henry constant for oxygen. More... | |
template<typename world_t > | |
void | preBehaviorUpdate (world_t *w) |
Pre-behavior update hook for MecaCell. More... | |
Private Member Functions | |
void | updateOxygen (std::vector< cell_t * > cells) |
Updates the oxygen levels for the given cells. More... | |
double | eqOxygen (double cstConsoDiff, double rn, double r) |
Computes the partial pressure of oxygen for a cell. More... | |
Private Attributes | |
double | a = 5.634224/10.0 |
double | omega = 10.0*3.0318 |
double | D = 2000.0 |
double | po = 37.50319 |
SpheroidManager::PluginSpheroidManager< cell_t > * | spheroidManager = nullptr |
Class for managing spherical oxygen diffusion.
cell_t | Type of the cell. |
Definition at line 29 of file PluginGrimesOxygen.hpp.
|
inlinedefault |
Default constructor.
|
inline |
Constructor with spheroid manager.
sm | Pointer to the spheroid manager. |
Definition at line 92 of file PluginGrimesOxygen.hpp.
|
inlineprivate |
Computes the partial pressure of oxygen for a cell.
cstConsoDiff | Constant for consumption and diffusion. |
rn | Necrotic radius. |
r | Distance from the centroid. |
Definition at line 63 of file PluginGrimesOxygen.hpp.
|
inline |
Pre-behavior update hook for MecaCell.
Updates oxygen quantities.
world_t | Type of the world. |
w | Pointer to the world. |
Definition at line 131 of file PluginGrimesOxygen.hpp.
|
inline |
Sets the diffusion constant.
d | Diffusion constant. |
Definition at line 113 of file PluginGrimesOxygen.hpp.
|
inline |
Sets the Henry constant for oxygen.
om | Henry constant for oxygen. |
Definition at line 120 of file PluginGrimesOxygen.hpp.
|
inline |
Sets the oxygen consumption rate.
c | Oxygen consumption rate. |
Definition at line 106 of file PluginGrimesOxygen.hpp.
|
inline |
Sets the external partial pressure of oxygen.
p | External partial pressure of oxygen. |
Definition at line 99 of file PluginGrimesOxygen.hpp.
|
inlineprivate |
Updates the oxygen levels for the given cells.
cells | Vector of cell pointers. |
Definition at line 43 of file PluginGrimesOxygen.hpp.
|
private |
Oxygen consumption in 10^-7 m^3/kg/s = 10^-1 µm^3/ng/s
Definition at line 32 of file PluginGrimesOxygen.hpp.
|
private |
Diffusion constant in 10^-12 m^2/s = µm^2/s
Definition at line 34 of file PluginGrimesOxygen.hpp.
|
private |
Henry constant for oxygen at human temperature multiplied by density of a tumor and density of oxygen in 10^7 mmHg.kg/m^3 = 10 mmHg.ng/µm^3
Definition at line 33 of file PluginGrimesOxygen.hpp.
|
private |
External partial pressure of oxygen in mmHg
Definition at line 35 of file PluginGrimesOxygen.hpp.
|
private |
Definition at line 36 of file PluginGrimesOxygen.hpp.