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

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

Public Member Functions

 InterpTable3 (const I &i1, const I &i2, const I &i3, 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 I & getIndex2 ()
 Access the second index, normally for getting fraction/index values. More...
 
const I & getIndex3 ()
 Access the third index, normally for getting fraction/index values. More...
 
const T & getValue (int i1, int i2, int i3) const
 Get node values.
 

Detailed Description

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

Interpolation data holder, for 3d interpolation tables.

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

Constructor & Destructor Documentation

◆ InterpTable3()

template<class T , class I >
dueca::InterpTable3< T, I >::InterpTable3 ( const I &  i1,
const I &  i2,
const I &  i3,
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::InterpTable3< T, I >::getIndex1 ( )
inline

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

◆ getIndex2()

template<class T , class I >
const I& dueca::InterpTable3< T, I >::getIndex2 ( )
inline

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

◆ getIndex3()

template<class T , class I >
const I& dueca::InterpTable3< T, I >::getIndex3 ( )
inline

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


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