25#ifndef quantlib_fdm_mesher_hpp
26#define quantlib_fdm_mesher_hpp
34 class FdmLinearOpLayout;
35 class FdmLinearOpIterator;
44 Size direction)
const = 0;
46 Size direction)
const = 0;
48 Size direction)
const = 0;
51 const ext::shared_ptr<FdmLinearOpLayout>&
layout()
const {
56 const ext::shared_ptr<FdmLinearOpLayout>
layout_;
1-D array used in linear algebra.
1-D array used in linear algebra.
FdmMesher(ext::shared_ptr< FdmLinearOpLayout > layout)
virtual Real location(const FdmLinearOpIterator &iter, Size direction) const =0
virtual Array locations(Size direction) const =0
virtual ~FdmMesher()=default
virtual Real dminus(const FdmLinearOpIterator &iter, Size direction) const =0
const ext::shared_ptr< FdmLinearOpLayout > layout_
const ext::shared_ptr< FdmLinearOpLayout > & layout() const
virtual Real dplus(const FdmLinearOpIterator &iter, Size direction) const =0
std::size_t Size
size of a container
Maps shared_ptr to either the boost or std implementation.