CubbyFlow::GridDataPositionFunc< N > Class Template Referencefinal

#include <Core/Grid/Grid.hpp>

Public Types

using RawFunctionType = std::function< Vector< double, N >(const Vector< size_t, N > &)>
 

Public Member Functions

 GridDataPositionFunc (const RawFunctionType &func)
 
template<typename... Indices>
Vector< double, N > operator() (size_t i, Indices... indices) const
 
Vector< double, N > operator() (const Vector< size_t, N > &idx) const
 

Member Typedef Documentation

◆ RawFunctionType

template<size_t N>
using CubbyFlow::GridDataPositionFunc< N >::RawFunctionType = std::function<Vector<double, N>(const Vector<size_t, N>&)>

Constructor & Destructor Documentation

◆ GridDataPositionFunc()

template<size_t N>
CubbyFlow::GridDataPositionFunc< N >::GridDataPositionFunc ( const RawFunctionType func)
inline

Member Function Documentation

◆ operator()() [1/2]

template<size_t N>
template<typename... Indices>
Vector<double, N> CubbyFlow::GridDataPositionFunc< N >::operator() ( size_t  i,
Indices...  indices 
) const
inline

◆ operator()() [2/2]

template<size_t N>
Vector<double, N> CubbyFlow::GridDataPositionFunc< N >::operator() ( const Vector< size_t, N > &  idx) const
inline

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