24#include <ql/experimental/finitedifferences/glued1dmesher.hpp>
25#include <ql/errors.hpp>
26#include <ql/math/comparison.hpp>
27#include <ql/utilities/null.hpp>
34 :
Fdm1dMesher(leftMesher.locations().size()+rightMesher.locations().size()
35 - (
close(leftMesher.locations().back(),
36 rightMesher.locations().front()) ? 1 :0) ),
37 commonPoint_(
close(leftMesher.locations().back(),
38 rightMesher.locations().front()) ) {
42 "left meshers rightmost point (" <<
44 ") may not be greater than right meshers leftmost point (" <<
std::vector< Real > locations_
const std::vector< Real > & locations() const
std::vector< Real > dplus_
std::vector< Real > dminus_
Glued1dMesher(const Fdm1dMesher &leftMesher, const Fdm1dMesher &rightMesher)
template class providing a null value for a given type.
std::size_t Size
size of a container
bool close(const Quantity &m1, const Quantity &m2, Size n)