25 #ifndef UQ_INTERPOLATION_SURROGATE_HELPER_H
26 #define UQ_INTERPOLATION_SURROGATE_HELPER_H
48 static unsigned int coordToGlobal(
const std::vector<unsigned int>& coord_indices,
49 const std::vector<unsigned int>& n_points );
55 const std::vector<unsigned int>& n_points,
56 std::vector<unsigned int>& coord_indices );
71 #endif // UQ_INTERPOLATION_SURROGATE_HELPER_H
InterpolationSurrogateHelper()
static void globalToCoord(unsigned int global, const std::vector< unsigned int > &n_points, std::vector< unsigned int > &coord_indices)
Inverse of coordToGlobal map.
~InterpolationSurrogateHelper()
static unsigned int coordToGlobal(const std::vector< unsigned int > &coord_indices, const std::vector< unsigned int > &n_points)
Map coordinate indices to a singal global index.
static unsigned int compute_npoints_factor(const std::vector< unsigned int > &n_points, unsigned int term)
Helper function.