Template Class ValueView

Class Documentation

template<typename ElementType, typename MemorySpace, typename LayoutPolicy = detail::default_layout_for_memory_space_t<MemorySpace>>
class ValueView

Public Types

using element_type = ElementType

Public Functions

inline ValueView(ValueBasis basis, Rank2View<ElementType, MemorySpace, LayoutPolicy> values)
template<typename OtherElement, typename = std::enable_if_t<!std::is_same_v<OtherElement, ElementType> && std::is_same_v<ElementType, const OtherElement>>>
inline ValueView(const ValueView<OtherElement, MemorySpace, LayoutPolicy> &other)
inline int Rank() const noexcept
inline FieldValueType GetValueType() const
inline const ValueBasis &GetBasis() const noexcept
inline Rank2View<ElementType, MemorySpace, LayoutPolicy> GetValues() const noexcept
inline size_t extent(size_t r) const noexcept
inline size_t size() const noexcept
decltype(auto) operator()(size_t i, size_t c) const = delete