Interface for boundary conditions. More...
#include <boundaryCondition.hpp>

Public Member Functions | |
BoundaryCondition () | |
Constructor. | |
virtual void | beforeExplicitStep (TridiagonalOperator &L)=0 |
Modification of tridiagonal matrix before explicit step. More... | |
virtual void | afterExplicitStep (std::vector< double > &f, double t)=0 |
Modification of solution of after explicit step. More... | |
virtual void | beforeImplicitStep (TridiagonalOperator &L, std::vector< double > &f, double t)=0 |
Modification of tridiagonal matrix before equation f'=Lf is solved. More... | |
virtual void | afterImplicitStep (std::vector< double > &f, double t)=0 |
Modification of solution of after solving equation f'=Lf is solved. More... | |
virtual std::string | info () const =0 |
Returns the type of boundary condition. More... | |
virtual BoundaryCondition * | clone () const =0 |
Virtual copy constructor. | |
virtual | ~BoundaryCondition () |
Destructor. | |
Detailed Description
Class implements the boundary condition interface. It modifies tridiagonal operator and solution to ensure proper value of solution on boundaries.
Member Function Documentation
|
pure virtual |
Modification of solution of after explicit step
- Parameters
-
f Solution after calculating derivative t Actual time, passing time value enables using time-dependent boundary conditions
Implemented in marian::DirichletBoundaryCondition< F >.
|
pure virtual |
Modification of solution of after solving equation f'=Lf is solved
- Parameters
-
f Solution after calculating derivative t Actual time, passing time value enables using time-dependent boundary conditions
Implemented in marian::DirichletBoundaryCondition< F >.
|
pure virtual |
Modification of tridiagonal matrix before explicit step
- Parameters
-
L Linear operator of PDE
Implemented in marian::DirichletBoundaryCondition< F >.
|
pure virtual |
Modification of tridiagonal matrix before equation f'=Lf is solved
- Parameters
-
L Linear operator of PDE f Function before solving t Actual time, passing time value enables using time-dependent boundary conditions
Implemented in marian::DirichletBoundaryCondition< F >.
|
pure virtual |
Returns the type of boundary condition
Implemented in marian::DirichletBoundaryCondition< F >.
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/fdm/src/FDM/boundaryConditions/boundaryCondition.hpp