QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdvanillaengine.hpp>
Public Member Functions | |
QL_DEPRECATED_DISABLE_WARNING | FDVanillaEngine (ext::shared_ptr< GeneralizedBlackScholesProcess > process, Size timeSteps, Size gridPoints, bool timeDependent=false) |
virtual | ~FDVanillaEngine ()=default |
const Array & | grid () const |
Protected Member Functions | |
virtual void | setupArguments (const PricingEngine::arguments *) const |
virtual void | setGridLimits () const |
virtual void | setGridLimits (Real, Time) const |
virtual void | initializeInitialCondition () const |
virtual void | initializeBoundaryConditions () const |
virtual void | initializeOperator () const |
virtual Time | getResidualTime () const |
void | ensureStrikeInGrid () const |
Protected Attributes | |
QL_DEPRECATED_ENABLE_WARNING typedef BoundaryCondition< TridiagonalOperator > | bc_type |
ext::shared_ptr< GeneralizedBlackScholesProcess > | process_ |
Size | timeSteps_ |
Size | gridPoints_ |
bool | timeDependent_ |
Date | exerciseDate_ |
ext::shared_ptr< Payoff > | payoff_ |
TridiagonalOperator | finiteDifferenceOperator_ |
QL_DEPRECATED_DISABLE_WARNING SampledCurve | intrinsicValues_ |
std::vector< ext::shared_ptr< bc_type > > | BCs_ |
Real | sMin_ |
Real | center_ |
Real | sMax_ |
Private Member Functions | |
Size | safeGridPoints (Size gridPoints, Time residualTime) const |
Static Private Attributes | |
static const Real | safetyZoneFactor_ = 1.1 |
Definition at line 44 of file fdvanillaengine.hpp.
QL_DEPRECATED_DISABLE_WARNING FDVanillaEngine | ( | ext::shared_ptr< GeneralizedBlackScholesProcess > | process, |
Size | timeSteps, | ||
Size | gridPoints, | ||
bool | timeDependent = false |
||
) |
Definition at line 47 of file fdvanillaengine.hpp.
|
virtualdefault |
const Array & grid | ( | ) | const |
Definition at line 55 of file fdvanillaengine.hpp.
|
protectedvirtual |
Reimplemented in FDMultiPeriodEngine< Scheme >.
Definition at line 41 of file fdvanillaengine.cpp.
|
protectedvirtual |
Definition at line 35 of file fdvanillaengine.cpp.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 76 of file fdvanillaengine.hpp.
|
protected |
Definition at line 67 of file fdvanillaengine.hpp.
|
protected |
Definition at line 68 of file fdvanillaengine.hpp.
|
protected |
Definition at line 68 of file fdvanillaengine.hpp.
|
protected |
Definition at line 69 of file fdvanillaengine.hpp.
|
mutableprotected |
Definition at line 70 of file fdvanillaengine.hpp.
|
mutableprotected |
Definition at line 71 of file fdvanillaengine.hpp.
|
mutableprotected |
Definition at line 72 of file fdvanillaengine.hpp.
|
mutableprotected |
Definition at line 74 of file fdvanillaengine.hpp.
|
mutableprotected |
Definition at line 77 of file fdvanillaengine.hpp.
|
mutableprotected |
Definition at line 79 of file fdvanillaengine.hpp.
|
protected |
Definition at line 79 of file fdvanillaengine.hpp.
|
protected |
Definition at line 79 of file fdvanillaengine.hpp.
|
staticprivate |
Definition at line 85 of file fdvanillaengine.hpp.