25#ifndef quantlib_fdm_backward_solver_hpp
26#define quantlib_fdm_backward_solver_hpp
32 class FdmLinearOpComposite;
33 class FdmStepConditionComposite;
57 Real eps=0.001,
Real relInitStepSize=0.01);
67 const ext::shared_ptr<FdmStepConditionComposite>& condition,
75 const ext::shared_ptr<FdmLinearOpComposite>
map_;
77 const ext::shared_ptr<FdmStepConditionComposite>
condition_;
1-D array used in linear algebra.
void rollback(array_type &a, Time from, Time to, Size steps, Size dampingSteps)
FdmLinearOp::array_type array_type
const FdmBoundaryConditionSet bcSet_
const ext::shared_ptr< FdmLinearOpComposite > map_
const ext::shared_ptr< FdmStepConditionComposite > condition_
const FdmSchemeDesc schemeDesc_
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container
OperatorTraits< FdmLinearOp >::bc_set FdmBoundaryConditionSet
static FdmSchemeDesc MethodOfLines(Real eps=0.001, Real relInitStepSize=0.01)
static FdmSchemeDesc TrBDF2()
static FdmSchemeDesc CrankNicolson()
static FdmSchemeDesc Douglas()
static FdmSchemeDesc CraigSneyd()
static FdmSchemeDesc ModifiedCraigSneyd()
static FdmSchemeDesc ExplicitEuler()
static FdmSchemeDesc ImplicitEuler()
static FdmSchemeDesc ModifiedHundsdorfer()
static FdmSchemeDesc Hundsdorfer()