FixedMultiIndexSet#

template<typename MemorySpace = Kokkos::HostSpace>
class FixedMultiIndexSet#

Public Functions

FixedMultiIndexSet(unsigned int _dim, Kokkos::View<unsigned int*, MemorySpace> _orders)#

Construct a fixed multiindex set in dense form.

All components of the multiindex are stored. This requires more memory for high dimensional problems, but might be easier to work with for some families of basis functions.

FixedMultiIndexSet(unsigned int _dim, Kokkos::View<unsigned int*, MemorySpace> _nzStarts, Kokkos::View<unsigned int*, MemorySpace> _nzDims, Kokkos::View<unsigned int*, MemorySpace> _nzOrders)#

Construct a fixed multiindex set in compressed form.

Only nonzero orders are stored in this representation. For multivariate polynomials, the compressed representation can yield faster polynomial evaluations. Note that the internal order of nzDims is guaranteed to to be increasing for each multiindex. The internal values of nzDims might therefore differ from _nzDims because they will be sorted.

FixedMultiIndexSet(unsigned int dim_, unsigned int maxOrder_, unsigned int minOrder_ = 0)#