QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Fdm1dMesher Class Reference

#include <ql/methods/finitedifferences/meshers/fdm1dmesher.hpp>

+ Inheritance diagram for Fdm1dMesher:
+ Collaboration diagram for Fdm1dMesher:

Public Member Functions

 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
 

Protected Attributes

std::vector< Reallocations_
 
std::vector< Realdplus_
 
std::vector< Realdminus_
 

Detailed Description

Definition at line 34 of file fdm1dmesher.hpp.

Constructor & Destructor Documentation

◆ Fdm1dMesher()

Fdm1dMesher ( Size  size)
explicit

Definition at line 36 of file fdm1dmesher.hpp.

◆ ~Fdm1dMesher()

virtual ~Fdm1dMesher ( )
virtualdefault

Member Function Documentation

◆ size()

Size size ( ) const

Definition at line 40 of file fdm1dmesher.hpp.

+ Here is the caller graph for this function:

◆ dplus()

Real dplus ( Size  index) const

Definition at line 41 of file fdm1dmesher.hpp.

+ Here is the caller graph for this function:

◆ dminus()

Real dminus ( Size  index) const

Definition at line 42 of file fdm1dmesher.hpp.

+ Here is the caller graph for this function:

◆ location()

Real location ( Size  index) const

Definition at line 43 of file fdm1dmesher.hpp.

+ Here is the caller graph for this function:

◆ locations()

const std::vector< Real > & locations ( ) const

Definition at line 44 of file fdm1dmesher.hpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ locations_

std::vector<Real> locations_
protected

Definition at line 47 of file fdm1dmesher.hpp.

◆ dplus_

std::vector<Real> dplus_
protected

Definition at line 48 of file fdm1dmesher.hpp.

◆ dminus_

std::vector<Real> dminus_
protected

Definition at line 48 of file fdm1dmesher.hpp.