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

#include <fdmmeshercomposite.hpp>

+ Inheritance diagram for FdmMesherComposite:
+ Collaboration diagram for FdmMesherComposite:

Public Member Functions

 FdmMesherComposite (const ext::shared_ptr< FdmLinearOpLayout > &layout, const std::vector< ext::shared_ptr< Fdm1dMesher > > &mesher)
 
 FdmMesherComposite (const std::vector< ext::shared_ptr< Fdm1dMesher > > &mesher)
 
 FdmMesherComposite (const ext::shared_ptr< Fdm1dMesher > &mesher)
 
 FdmMesherComposite (const ext::shared_ptr< Fdm1dMesher > &m1, const ext::shared_ptr< Fdm1dMesher > &m2)
 
 FdmMesherComposite (const ext::shared_ptr< Fdm1dMesher > &m1, const ext::shared_ptr< Fdm1dMesher > &m2, const ext::shared_ptr< Fdm1dMesher > &m3)
 
 FdmMesherComposite (const ext::shared_ptr< Fdm1dMesher > &m1, const ext::shared_ptr< Fdm1dMesher > &m2, const ext::shared_ptr< Fdm1dMesher > &m3, const ext::shared_ptr< Fdm1dMesher > &m4)
 
Real dplus (const FdmLinearOpIterator &iter, Size direction) const override
 
Real dminus (const FdmLinearOpIterator &iter, Size direction) const override
 
Real location (const FdmLinearOpIterator &iter, Size direction) const override
 
Array locations (Size direction) const override
 
const std::vector< ext::shared_ptr< Fdm1dMesher > > & getFdm1dMeshers () const
 
- Public Member Functions inherited from FdmMesher
 FdmMesher (ext::shared_ptr< FdmLinearOpLayout > layout)
 
virtual ~FdmMesher ()=default
 
virtual Real dplus (const FdmLinearOpIterator &iter, Size direction) const =0
 
virtual Real dminus (const FdmLinearOpIterator &iter, Size direction) const =0
 
virtual Real location (const FdmLinearOpIterator &iter, Size direction) const =0
 
virtual Array locations (Size direction) const =0
 
const ext::shared_ptr< FdmLinearOpLayout > & layout () const
 

Private Attributes

const std::vector< ext::shared_ptr< Fdm1dMesher > > mesher_
 

Additional Inherited Members

- Protected Attributes inherited from FdmMesher
const ext::shared_ptr< FdmLinearOpLayoutlayout_
 

Detailed Description

Definition at line 35 of file fdmmeshercomposite.hpp.

Constructor & Destructor Documentation

◆ FdmMesherComposite() [1/6]

FdmMesherComposite ( const ext::shared_ptr< FdmLinearOpLayout > &  layout,
const std::vector< ext::shared_ptr< Fdm1dMesher > > &  mesher 
)

Definition at line 76 of file fdmmeshercomposite.cpp.

+ Here is the call graph for this function:

◆ FdmMesherComposite() [2/6]

FdmMesherComposite ( const std::vector< ext::shared_ptr< Fdm1dMesher > > &  mesher)
explicit

Definition at line 71 of file fdmmeshercomposite.cpp.

◆ FdmMesherComposite() [3/6]

FdmMesherComposite ( const ext::shared_ptr< Fdm1dMesher > &  mesher)
explicit

Definition at line 40 of file fdmmeshercomposite.cpp.

◆ FdmMesherComposite() [4/6]

FdmMesherComposite ( const ext::shared_ptr< Fdm1dMesher > &  m1,
const ext::shared_ptr< Fdm1dMesher > &  m2 
)

Definition at line 47 of file fdmmeshercomposite.cpp.

◆ FdmMesherComposite() [5/6]

FdmMesherComposite ( const ext::shared_ptr< Fdm1dMesher > &  m1,
const ext::shared_ptr< Fdm1dMesher > &  m2,
const ext::shared_ptr< Fdm1dMesher > &  m3 
)

Definition at line 54 of file fdmmeshercomposite.cpp.

◆ FdmMesherComposite() [6/6]

FdmMesherComposite ( const ext::shared_ptr< Fdm1dMesher > &  m1,
const ext::shared_ptr< Fdm1dMesher > &  m2,
const ext::shared_ptr< Fdm1dMesher > &  m3,
const ext::shared_ptr< Fdm1dMesher > &  m4 
)

Definition at line 62 of file fdmmeshercomposite.cpp.

Member Function Documentation

◆ dplus()

Real dplus ( const FdmLinearOpIterator iter,
Size  direction 
) const
overridevirtual

Implements FdmMesher.

Definition at line 86 of file fdmmeshercomposite.cpp.

+ Here is the call graph for this function:

◆ dminus()

Real dminus ( const FdmLinearOpIterator iter,
Size  direction 
) const
overridevirtual

Implements FdmMesher.

Definition at line 91 of file fdmmeshercomposite.cpp.

+ Here is the call graph for this function:

◆ location()

Real location ( const FdmLinearOpIterator iter,
Size  direction 
) const
overridevirtual

Implements FdmMesher.

Definition at line 96 of file fdmmeshercomposite.cpp.

+ Here is the call graph for this function:

◆ locations()

Array locations ( Size  direction) const
overridevirtual

Implements FdmMesher.

Definition at line 101 of file fdmmeshercomposite.cpp.

◆ getFdm1dMeshers()

const std::vector< ext::shared_ptr< Fdm1dMesher > > & getFdm1dMeshers ( ) const

Definition at line 113 of file fdmmeshercomposite.cpp.

Member Data Documentation

◆ mesher_

const std::vector<ext::shared_ptr<Fdm1dMesher> > mesher_
private

Definition at line 66 of file fdmmeshercomposite.hpp.