DUECA/DUSIME
Public Member Functions | List of all members
dueca::InterpIndex< T > Class Template Reference

This implements a single index (axis) for an interpolation into a table. More...

Public Member Functions

 InterpIndex (int n, const T *ipts)
 Constructor from static data. More...
 
int maxDim () const
 Constructor, reading from file. More...
 
int nDim () const
 return the number of indexes. More...
 
bool updateIndex (int &index, double &frac, const T &value) const
 update an index, and fraction, return whether within the table. More...
 

Detailed Description

template<class T>
class dueca::InterpIndex< T >

This implements a single index (axis) for an interpolation into a table.

Constructor & Destructor Documentation

◆ InterpIndex()

template<class T >
dueca::InterpIndex< T >::InterpIndex ( int  n,
const T *  ipts 
)

Constructor from static data.

Member Function Documentation

◆ maxDim()

template<class T >
int dueca::InterpIndex< T >::maxDim ( ) const
inline

Constructor, reading from file.

return the maximum allowed value for an index

◆ nDim()

template<class T >
int dueca::InterpIndex< T >::nDim ( ) const
inline

return the number of indexes.

◆ updateIndex()

template<class T >
bool dueca::InterpIndex< T >::updateIndex ( int &  index,
double &  frac,
const T &  value 
) const
inline

update an index, and fraction, return whether within the table.


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