DirichletBC Class Reference
[Finite-differences framework]
#include <ql/FiniteDifferences/boundarycondition.hpp>
Inheritance diagram for DirichletBC:

Detailed Description
Neumann boundary condition (i.e., constant value).
- Todo:
- generalize to time-dependent conditions.
Public Member Functions | |
| DirichletBC (Real value, Side side) | |
| void | applyBeforeApplying (TridiagonalOperator &) const |
| void | applyAfterApplying (Array &) const |
| void | applyBeforeSolving (TridiagonalOperator &, Array &rhs) const |
| void | applyAfterSolving (Array &) const |
| void | setTime (Time) |
Member Function Documentation
|
|
This method modifies an operator Implements BoundaryCondition< TridiagonalOperator >. |
|
|
This method modifies an array Implements BoundaryCondition< TridiagonalOperator >. |
|
||||||||||||
|
This method modifies an operator Implements BoundaryCondition< TridiagonalOperator >. |
|
|
This method modifies an array Implements BoundaryCondition< TridiagonalOperator >. |
|
|
This method sets the current time for time-dependent boundary conditions. Implements BoundaryCondition< TridiagonalOperator >. |

before it is applied to an array
so that
will satisfy the given condition.
is solved so that
will satisfy the given condition.