Neumann boundary condition (i.e., constant value) More...
#include <ql/methods/finitedifferences/boundarycondition.hpp>
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) |
![]() | |
virtual void | applyAfterApplying (array_type &) const=0 |
virtual void | applyBeforeSolving (operator_type &, array_type &rhs) const=0 |
virtual void | applyAfterSolving (array_type &) const=0 |
Additional Inherited Members | |
![]() | |
enum | Side |
typedef TridiagonalOperator | operator_type |
typedef Operator::array_type | array_type |
Neumann boundary condition (i.e., constant value)
|
virtual |
This method modifies an operator \( L \) before it is applied to an array \( u \) so that \( v = Lu \) will satisfy the given condition.
Implements BoundaryCondition< TridiagonalOperator >.
|
virtual |
This method sets the current time for time-dependent boundary conditions.
Implements BoundaryCondition< TridiagonalOperator >.