Template Class LookupTable

Class Documentation

template<const int kDim>
class LookupTable

Public Functions

LookupTable() = default
LookupTable(std::string filename, char delimiter, bool errorIfOutOfBound = true)
LookupTable(std::vector<std::string> filenames, std::string dataSet, bool errorIfOutOfBound = true)
template<typename Tint, typename Treal>
KOKKOS_INLINE_FUNCTION inline real Get(const real x[kDim], Tint &dimensions, Tint &offset, Treal &xin, Treal &data) const
KOKKOS_INLINE_FUNCTION inline real Get(const real x[kDim]) const
KOKKOS_INLINE_FUNCTION inline real GetHost(const real x[kDim]) const

Public Members

IdefixArray1D<int> dimensionsDev
IdefixArray1D<int> offsetDev
IdefixArray1D<real> xinDev
IdefixArray1D<real> dataDev
IdefixHostArray1D<int> dimensionsHost
IdefixHostArray1D<int> offsetHost
IdefixHostArray1D<real> xinHost
IdefixHostArray1D<real> dataHost
bool errorIfOutOfBound = {true}