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

Interpolation data holder, for 1d interpolation tables. More...

Public Member Functions

 InterpTable1 (const I &i1, const T *data)
 Constructor with an array pointer as input, by far the fastest constructor. More...
 
const I & getIndex1 ()
 Access the first index, normally for getting fraction/index values. More...
 
const T & getValue (int i1) const
 Get node values.
 

Detailed Description

template<class T, class I>
class dueca::InterpTable1< T, I >

Interpolation data holder, for 1d interpolation tables.

Either reads data from file, or uses a static array initialisation.

Constructor & Destructor Documentation

◆ InterpTable1()

template<class T , class I >
dueca::InterpTable1< T, I >::InterpTable1 ( const I &  i1,
const T *  data 
)

Constructor with an array pointer as input, by far the fastest constructor.

Member Function Documentation

◆ getIndex1()

template<class T , class I >
const I& dueca::InterpTable1< T, I >::getIndex1 ( )
inline

Access the first index, normally for getting fraction/index values.


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