QuantLib_DirichletBC man page

DirichletBC — Neumann boundary condition (i.e., constant value)


#include <ql/methods/finitedifferences/boundarycondition.hpp>

Inherits BoundaryCondition< TridiagonalOperator >.

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)

Additional Inherited Members

Detailed Description

Neumann boundary condition (i.e., constant value)

Member Function Documentation

void applyBeforeApplying (TridiagonalOperator &) const [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 >.

void setTime (Time t) [virtual]

This method sets the current time for time-dependent boundary conditions.

Implements BoundaryCondition< TridiagonalOperator >.


Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

DirichletBC(3) is an alias of QuantLib_DirichletBC(3).

Fri Sep 23 2016 Version 1.8.1 QuantLib