28#include <ql/methods/finitedifferences/meshers/fdm1dmesher.hpp>
38 const Handle<DefaultableEquityJumpDiffusionModel>& model,
39 const Handle<QuantLib::YieldTermStructure>& discountingCurve = Handle<QuantLib::YieldTermStructure>(),
40 const Handle<QuantLib::Quote>& discountingSpread = Handle<QuantLib::Quote>(),
41 const Handle<QuantLib::DefaultProbabilityTermStructure>& creditCurve =
42 Handle<QuantLib::DefaultProbabilityTermStructure>(),
43 const Handle<QuantLib::Quote>& recoveryRate = Handle<QuantLib::Quote>(),
44 const Handle<QuantExt::FxIndex>& fxConversion = Handle<QuantExt::FxIndex>(),
const bool staticMesher =
false,
45 const Size timeStepsPerYear = 24,
const Size stateGridPoints = 100,
const Real mesherEpsilon = 1E-4,
46 const Real mesherScaling = 1.5,
47 const std::vector<Real> conversionRatioDiscretisationGrid = {0.1, 0.5, 0.7, 0.9, 1.0, 1.1, 1.3, 1.5, 2.0, 5.0,
49 const bool generateAdditionalResults =
true);
54 Handle<DefaultableEquityJumpDiffusionModel>
model_;
68 mutable QuantLib::ext::shared_ptr<Fdm1dMesher>
mesher_;
Handle< DefaultableEquityJumpDiffusionModel > model_
Handle< QuantLib::YieldTermStructure > discountingCurve_
Handle< QuantLib::DefaultProbabilityTermStructure > creditCurve_
void calculate() const override
Handle< QuantExt::FxIndex > fxConversion_
Handle< QuantLib::Quote > discountingSpread_
std::vector< Real > conversionRatioDiscretisationGrid_
QuantLib::ext::shared_ptr< Fdm1dMesher > mesher_
Handle< QuantLib::Quote > recoveryRate_
bool generateAdditionalResults_