Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
PLMD::CInterpolation Class Referenceabstract

#include <CubicInterpolation.h>

Inheritance diagram for PLMD::CInterpolation:
Inheritance graph
[legend]

Public Member Functions

 CInterpolation (const std::vector< unsigned > &dd, const std::vector< double > &fmin, const std::vector< double > &fmax)
 
virtual ~CInterpolation ()
 
unsigned getNumberOfSplinePoints () const
 
void getNumbersOfPoints (std::vector< unsigned > &nspline) const
 
void getSplinePoint (const unsigned nn, std::vector< double > &pp) const
 
void getGridBoundaries (std::vector< double > &gmin, std::vector< double > &gmax) const
 
virtual void set_table (const std::vector< Value > &ff)=0
 
virtual double get_fdf (const std::vector< double > &pos)=0
 

Protected Member Functions

unsigned findBox (const std::vector< double > &pos)
 
double getPointSpacing (const unsigned dir, const unsigned k) const
 
double getCrossTermDenominator (const unsigned i, const unsigned j) const
 

Protected Attributes

std::vector< double > lb
 
std::vector< double > ub
 
std::vector< unsigned > np
 
std::vector< unsigned > stride
 

Private Member Functions

unsigned search1 (const unsigned &kk, const double &x, const unsigned &jold) const
 

Private Attributes

unsigned bold
 
Matrix< double > splinepoints
 

Constructor & Destructor Documentation

PLMD::CInterpolation::CInterpolation ( const std::vector< unsigned > &  dd,
const std::vector< double > &  fmin,
const std::vector< double > &  fmax 
)
PLMD::CInterpolation::~CInterpolation ( )
virtual

Member Function Documentation

unsigned PLMD::CInterpolation::findBox ( const std::vector< double > &  pos)
protected
virtual double PLMD::CInterpolation::get_fdf ( const std::vector< double > &  pos)
pure virtual
double PLMD::CInterpolation::getCrossTermDenominator ( const unsigned  i,
const unsigned  j 
) const
inlineprotected
void PLMD::CInterpolation::getGridBoundaries ( std::vector< double > &  gmin,
std::vector< double > &  gmax 
) const
inline
unsigned PLMD::CInterpolation::getNumberOfSplinePoints ( ) const
inline
void PLMD::CInterpolation::getNumbersOfPoints ( std::vector< unsigned > &  nspline) const
double PLMD::CInterpolation::getPointSpacing ( const unsigned  dir,
const unsigned  k 
) const
inlineprotected
void PLMD::CInterpolation::getSplinePoint ( const unsigned  nn,
std::vector< double > &  pp 
) const
inline
unsigned PLMD::CInterpolation::search1 ( const unsigned &  kk,
const double &  x,
const unsigned &  jold 
) const
private
virtual void PLMD::CInterpolation::set_table ( const std::vector< Value > &  ff)
pure virtual

Member Data Documentation

unsigned PLMD::CInterpolation::bold
private
std::vector<double> PLMD::CInterpolation::lb
protected
std::vector<unsigned> PLMD::CInterpolation::np
protected
Matrix<double> PLMD::CInterpolation::splinepoints
private
std::vector<unsigned> PLMD::CInterpolation::stride
protected
std::vector<double> PLMD::CInterpolation::ub
protected

The documentation for this class was generated from the following files: