QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <expliciteulerscheme.hpp>
Public Types | |
typedef OperatorTraits< FdmLinearOp > | traits |
typedef traits::operator_type | operator_type |
typedef traits::array_type | array_type |
typedef traits::bc_set | bc_set |
typedef traits::condition_type | condition_type |
Public Member Functions | |
ExplicitEulerScheme (ext::shared_ptr< FdmLinearOpComposite > map, const bc_set &bcSet=bc_set()) | |
void | step (array_type &a, Time t) |
void | setStep (Time dt) |
Protected Member Functions | |
void | step (array_type &a, Time t, Real theta) |
Protected Attributes | |
Time | dt_ |
const ext::shared_ptr< FdmLinearOpComposite > | map_ |
const BoundaryConditionSchemeHelper | bcSet_ |
Friends | |
class | CrankNicolsonScheme |
Definition at line 35 of file expliciteulerscheme.hpp.
typedef OperatorTraits<FdmLinearOp> traits |
Definition at line 38 of file expliciteulerscheme.hpp.
typedef traits::operator_type operator_type |
Definition at line 39 of file expliciteulerscheme.hpp.
typedef traits::array_type array_type |
Definition at line 40 of file expliciteulerscheme.hpp.
typedef traits::bc_set bc_set |
Definition at line 41 of file expliciteulerscheme.hpp.
typedef traits::condition_type condition_type |
Definition at line 42 of file expliciteulerscheme.hpp.
|
explicit |
Definition at line 26 of file expliciteulerscheme.cpp.
void step | ( | array_type & | a, |
Time | t | ||
) |
Definition at line 30 of file expliciteulerscheme.cpp.
void setStep | ( | Time | dt | ) |
Definition at line 44 of file expliciteulerscheme.cpp.
|
protected |
|
friend |
Definition at line 52 of file expliciteulerscheme.hpp.
|
protected |
Definition at line 55 of file expliciteulerscheme.hpp.
|
protected |
Definition at line 56 of file expliciteulerscheme.hpp.
|
protected |
Definition at line 57 of file expliciteulerscheme.hpp.