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

◆ CInterpolation()

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

◆ ~CInterpolation()

PLMD::CInterpolation::~CInterpolation ( )
virtual

Member Function Documentation

◆ findBox()

unsigned PLMD::CInterpolation::findBox ( const std::vector< double > &  pos)
protected

◆ get_fdf()

virtual double PLMD::CInterpolation::get_fdf ( const std::vector< double > &  pos)
pure virtual

◆ getCrossTermDenominator()

double PLMD::CInterpolation::getCrossTermDenominator ( const unsigned  i,
const unsigned  j 
) const
inlineprotected

◆ getGridBoundaries()

void PLMD::CInterpolation::getGridBoundaries ( std::vector< double > &  gmin,
std::vector< double > &  gmax 
) const
inline

◆ getNumberOfSplinePoints()

unsigned PLMD::CInterpolation::getNumberOfSplinePoints ( ) const
inline

◆ getNumbersOfPoints()

void PLMD::CInterpolation::getNumbersOfPoints ( std::vector< unsigned > &  nspline) const

◆ getPointSpacing()

double PLMD::CInterpolation::getPointSpacing ( const unsigned  dir,
const unsigned  k 
) const
inlineprotected

◆ getSplinePoint()

void PLMD::CInterpolation::getSplinePoint ( const unsigned  nn,
std::vector< double > &  pp 
) const
inline

◆ search1()

unsigned PLMD::CInterpolation::search1 ( const unsigned &  kk,
const double &  x,
const unsigned &  jold 
) const
private

◆ set_table()

virtual void PLMD::CInterpolation::set_table ( const std::vector< Value > &  ff)
pure virtual

Member Data Documentation

◆ bold

unsigned PLMD::CInterpolation::bold
private

◆ lb

std::vector<double> PLMD::CInterpolation::lb
protected

◆ np

std::vector<unsigned> PLMD::CInterpolation::np
protected

◆ splinepoints

Matrix<double> PLMD::CInterpolation::splinepoints
private

◆ stride

std::vector<unsigned> PLMD::CInterpolation::stride
protected

◆ ub

std::vector<double> PLMD::CInterpolation::ub
protected

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