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

Interpolator object. More...

Public Member Functions

 Interpolator2 (const InterpIndex< T > &index1, const InterpIndex< T > &index2)
 Constructor. More...
 
 ~Interpolator2 ()
 Destructor.
 
void updateIndices (const T &val1, const T &val2)
 re-calculate the indices and fractions
 
const T getValue (const InterpTable2< T, InterpIndex< T > > &table) const
 use this knowledge to read out a table. More...
 

Detailed Description

template<class T>
class dueca::Interpolator2< T >

Interpolator object.

Objects of this class do linear interpolation in tables with three dimensions, of which the indices are given by three interpolation index objects.

Constructor & Destructor Documentation

◆ Interpolator2()

template<class T >
dueca::Interpolator2< T >::Interpolator2 ( const InterpIndex< T > &  index1,
const InterpIndex< T > &  index2 
)

Constructor.

Member Function Documentation

◆ getValue()

template<class T >
const T dueca::Interpolator2< T >::getValue ( const InterpTable2< T, InterpIndex< T > > &  table) const

use this knowledge to read out a table.


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