Class implements Dirichlet Boundary Condition. More...
#include <dirichletBoundaryCondition.hpp>

Public Member Functions | |
DirichletBoundaryCondition () | |
Default constructor. | |
DirichletBoundaryCondition (BCSide side, F value) | |
Constructor. More... | |
void | beforeExplicitStep (TridiagonalOperator &) override |
Modification of tridiagonal matrix before explicit step. More... | |
void | afterExplicitStep (std::vector< double > &, double t) override |
Modification of solution after explicit step. More... | |
void | beforeImplicitStep (TridiagonalOperator &, std::vector< double > &, double t) override |
Modification of solution and linear operator before explicit step. More... | |
void | afterImplicitStep (std::vector< double > &, double t) override |
Empty method, no modification performed. More... | |
std::string | info () const override |
Returns the type of boundary condition. More... | |
virtual | ~DirichletBoundaryCondition () |
Destructor. | |
![]() | |
virtual BoundaryCondition * | clone () const |
Virtual copy constructor. | |
![]() | |
BoundaryCondition () | |
Constructor. | |
virtual | ~BoundaryCondition () |
Destructor. | |
Private Attributes | |
BCSide | side_ |
Side for which boundary condition is set. | |
F | value_ |
Value on the boundary. | |
Detailed Description
template<typename F>
class marian::DirichletBoundaryCondition< F >
The condition specifies the value of a solution on the boundary of the domain.
- Examples:
- FokkerPlanckEqExample.cpp.
Constructor & Destructor Documentation
|
inline |
- Parameters
-
side Side for which boundary condition is set value Value that be assigned to solution on the boundary
Member Function Documentation
|
overridevirtual |
The first (in case of low boundary) or the last (in case of upper boundary) element is set to certain value.
Implements marian::BoundaryCondition.
|
overridevirtual |
Implements marian::BoundaryCondition.
|
overridevirtual |
Elements of the first (in case of low boundary) or the last (in case of upper boundary) row of tridiagonal operator are set to 0.0, expect the diagonal element which is set to 1.0.
Implements marian::BoundaryCondition.
|
overridevirtual |
Elements of the first (in case of low boundary) or the last (in case of upper boundary) row of tridiagonal operator are set to 0.0, expect the diagonal element which is set to 1.0.
The first (in case of low boundary) or the last (in case of upper boundary) element is set to certain value.
Implements marian::BoundaryCondition.
|
inlineoverridevirtual |
Returns the type of boundary condition
Implements marian::BoundaryCondition.
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/fdm/src/FDM/boundaryConditions/dirichletBoundaryCondition.hpp