26#ifndef quantlib_fdm_uniform_1d_mesher_hpp
27#define quantlib_fdm_uniform_1d_mesher_hpp
39 QL_REQUIRE(end > start,
"end must be large than start");
41 const Real dx = (end-start)/(
size-1);
std::vector< Real > locations_
std::vector< Real > dplus_
std::vector< Real > dminus_
template class providing a null value for a given type.
Classes and functions for error handling.
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
One-dimensional simple FDM mesher object working on an index.
std::size_t Size
size of a container