BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
15 #ifndef CORE_DIFFUSION_EULER_DEPLETION_GRID_H_
16 #define CORE_DIFFUSION_EULER_DEPLETION_GRID_H_
38 real_t mu,
int resolution = 10,
39 std::vector<real_t> binding_coefficients = {},
40 std::vector<int> binding_substances = {})
41 :
EulerGrid(substance_id, std::move(substance_name), dc, mu, resolution),
103 #endif // CORE_DIFFUSION_EULER_DEPLETION_GRID_H_
void DiffuseWithOpenEdge(real_t dt) override
EulerDepletionGrid(int substance_id, std::string substance_name, real_t dc, real_t mu, int resolution=10, std::vector< real_t > binding_coefficients={}, std::vector< int > binding_substances={})
std::vector< int > binding_substances_
Vector of binding substances.
std::vector< real_t > binding_coefficients_
std::vector< int > GetBindingSubstances() const
Get the vector of binding substances (vector of IDs)
void DiffuseWithNeumann(real_t dt) override
void DiffuseWithClosedEdge(real_t dt) override
void ApplyDepletion(real_t dt)
Depletes the substance according to binding_substances_ and binding_coefficients_....
BDM_CLASS_DEF_OVERRIDE(EulerDepletionGrid, 1)
Continuum model for the 3D diffusion equation with exponential decay and substance depletion .
void DiffuseWithPeriodic(real_t dt) override
EulerDepletionGrid()=default
void DiffuseWithDirichlet(real_t dt) override
void SetBindingSubstance(int bnd_sub, real_t bnd_coeff)
Sets a binding substance and coefficient for the substance.
std::vector< real_t > GetBindingCoefficients() const
Get the vector of binding coefficients (vector of coefficients)
Continuum model for the 3D heat equation with exponential decay .