Intrepid2
Intrepid2_Data.hpp File Reference

Defines the Data class, a wrapper around a Kokkos::View that allows data that is constant or repeating in various logical dimensions to be stored just once, while providing a similar interface to that of View. More...

#include "Intrepid2_ArgExtractor.hpp"
#include "Intrepid2_DataDimensionInfo.hpp"
#include "Intrepid2_DataFunctors.hpp"
#include "Intrepid2_DataVariationType.hpp"
#include "Intrepid2_ScalarView.hpp"
#include "Intrepid2_Utils.hpp"
#include "Intrepid2_DataDef.hpp"

Go to the source code of this file.

Classes

class  Intrepid2::ZeroView< DataScalar, DeviceType >
 A singleton class for a DynRankView containing exactly one zero entry. (Technically, the entry is DataScalar(), the default value for the scalar type.) This allows View-wrapping classes to return a reference to zero, even when that zero is not explicitly stored in the wrapped views. More...
class  Intrepid2::Data< DataScalar, DeviceType >
 Wrapper around a Kokkos::View that allows data that is constant or repeating in various logical dimensions to be stored just once, while providing a similar interface to that of View. More...

Functions

template<class DataScalar, typename DeviceType>
KOKKOS_INLINE_FUNCTION constexpr unsigned Intrepid2::rank (const Data< DataScalar, DeviceType > &D)

Detailed Description

Defines the Data class, a wrapper around a Kokkos::View that allows data that is constant or repeating in various logical dimensions to be stored just once, while providing a similar interface to that of View.

Author
Created by N.V. Roberts.

Definition in file Intrepid2_Data.hpp.

Function Documentation

◆ rank()

template<class DataScalar, typename DeviceType>
KOKKOS_INLINE_FUNCTION constexpr unsigned Intrepid2::rank ( const Data< DataScalar, DeviceType > & D)
constexpr

Definition at line 2125 of file Intrepid2_Data.hpp.