25#ifndef quantlib_fdm_ext_ou_jump_model_inner_value_hpp
26#define quantlib_fdm_ext_ou_jump_model_inner_value_hpp
38 typedef std::vector<std::pair<Time, Real> >
Shape;
41 ext::shared_ptr<FdmMesher> mesher,
42 ext::shared_ptr<Shape> shape = ext::shared_ptr<Shape>())
52 std::pair<Time, Real>(
t-std::sqrt(
QL_EPSILON), 0.0))->second;
Real innerValue(const FdmLinearOpIterator &iter, Time t) override
FdmExtOUJumpModelInnerValue(ext::shared_ptr< Payoff > payoff, ext::shared_ptr< FdmMesher > mesher, ext::shared_ptr< Shape > shape=ext::shared_ptr< Shape >())
std::vector< std::pair< Time, Real > > Shape
Real avgInnerValue(const FdmLinearOpIterator &iter, Time t) override
const ext::shared_ptr< FdmMesher > mesher_
const ext::shared_ptr< Shape > shape_
const ext::shared_ptr< Payoff > payoff_
layer of abstraction to calculate the inner value
iterator for a linear fdm operator
Real Time
continuous quantity with 1-year units
ext::shared_ptr< QuantLib::Payoff > payoff