QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Concentrating1dMesher Class Reference

#include <concentrating1dmesher.hpp>

+ Inheritance diagram for Concentrating1dMesher:
+ Collaboration diagram for Concentrating1dMesher:

Public Member Functions

 Concentrating1dMesher (Real start, Real end, Size size, const std::pair< Real, Real > &cPoints=(std::pair< Real, Real >(Null< Real >(), Null< Real >())), bool requireCPoint=false)
 
 Concentrating1dMesher (Real start, Real end, Size size, const std::vector< ext::tuple< Real, Real, bool > > &cPoints, Real tol=1e-8)
 
- Public Member Functions inherited from Fdm1dMesher
 Fdm1dMesher (Size size)
 
virtual ~Fdm1dMesher ()=default
 
Size size () const
 
Real dplus (Size index) const
 
Real dminus (Size index) const
 
Real location (Size index) const
 
const std::vector< Real > & locations () const
 

Additional Inherited Members

- Protected Attributes inherited from Fdm1dMesher
std::vector< Reallocations_
 
std::vector< Realdplus_
 
std::vector< Realdminus_
 

Detailed Description

Definition at line 39 of file concentrating1dmesher.hpp.

Constructor & Destructor Documentation

◆ Concentrating1dMesher() [1/2]

Concentrating1dMesher ( Real  start,
Real  end,
Size  size,
const std::pair< Real, Real > &  cPoints = (std::pair<RealReal>(Null<Real>(), Null<Real>())),
bool  requireCPoint = false 
)

Definition at line 41 of file concentrating1dmesher.cpp.

+ Here is the call graph for this function:

◆ Concentrating1dMesher() [2/2]

Concentrating1dMesher ( Real  start,
Real  end,
Size  size,
const std::vector< ext::tuple< Real, Real, bool > > &  cPoints,
Real  tol = 1e-8 
)

Definition at line 141 of file concentrating1dmesher.cpp.

+ Here is the call graph for this function: