BioDynaMo
v1.05.120-25dc9790
|
This class implements constant boundary conditions (Dirichlet and Neumann). The value of the boundary condition is constant and independent of the position and time, i.e. u = const or du/dn = const on the boundary. More...
#include <diffusion_grid.h>
Public Member Functions | |
ConstantBoundaryCondition (real_t value) | |
Constructor for a constant boundary condition. More... | |
real_t | Evaluate (real_t x, real_t y, real_t z, real_t time) const final |
see BoundaryCondition::Evaluate() More... | |
Public Member Functions inherited from bdm::BoundaryCondition | |
BoundaryCondition ()=default | |
BoundaryCondition (const TRootIOCtor *) | |
virtual | ~BoundaryCondition ()=default |
BDM_CLASS_DEF (BoundaryCondition, 1) | |
Private Member Functions | |
BDM_CLASS_DEF_OVERRIDE (ConstantBoundaryCondition, 1) | |
BoundaryCondition ()=default | |
BoundaryCondition (const TRootIOCtor *) | |
Private Attributes | |
real_t | value_ = 0.0 |
Constant value of the boundary condition for all positions and times. More... | |
This class implements constant boundary conditions (Dirichlet and Neumann). The value of the boundary condition is constant and independent of the position and time, i.e. u = const or du/dn = const on the boundary.
Definition at line 70 of file diffusion_grid.h.
|
inlineexplicit |
Constructor for a constant boundary condition.
value | Constant on the boundary (u = value or du/dn = value) |
Definition at line 76 of file diffusion_grid.h.
|
private |
|
privatedefault |
|
inlineexplicitprivate |
Definition at line 52 of file diffusion_grid.h.
|
inlinefinalvirtual |
see BoundaryCondition::Evaluate()
Implements bdm::BoundaryCondition.
Definition at line 79 of file diffusion_grid.h.
|
private |
Constant value of the boundary condition for all positions and times.
Definition at line 85 of file diffusion_grid.h.