BioDynaMo  v1.05.120-25dc9790
Public Member Functions | Private Member Functions | Private Attributes | List of all members
bdm::ConstantBoundaryCondition Class Reference

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>

Inheritance diagram for bdm::ConstantBoundaryCondition:
[legend]
Collaboration diagram for bdm::ConstantBoundaryCondition:
[legend]

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ConstantBoundaryCondition()

bdm::ConstantBoundaryCondition::ConstantBoundaryCondition ( real_t  value)
inlineexplicit

Constructor for a constant boundary condition.

Parameters
valueConstant on the boundary (u = value or du/dn = value)

Definition at line 76 of file diffusion_grid.h.

Member Function Documentation

◆ BDM_CLASS_DEF_OVERRIDE()

bdm::ConstantBoundaryCondition::BDM_CLASS_DEF_OVERRIDE ( ConstantBoundaryCondition  ,
 
)
private

◆ BoundaryCondition() [1/2]

bdm::BoundaryCondition::BoundaryCondition
privatedefault

◆ BoundaryCondition() [2/2]

bdm::BoundaryCondition::BoundaryCondition
inlineexplicitprivate

Definition at line 52 of file diffusion_grid.h.

◆ Evaluate()

real_t bdm::ConstantBoundaryCondition::Evaluate ( real_t  x,
real_t  y,
real_t  z,
real_t  time 
) const
inlinefinalvirtual

see BoundaryCondition::Evaluate()

Implements bdm::BoundaryCondition.

Definition at line 79 of file diffusion_grid.h.

Member Data Documentation

◆ value_

real_t bdm::ConstantBoundaryCondition::value_ = 0.0
private

Constant value of the boundary condition for all positions and times.

Definition at line 85 of file diffusion_grid.h.


The documentation for this class was generated from the following file: