Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Public Types | Public Member Functions | List of all members
fub::accessor_basic< ElementType > Struct Template Reference

#include <mdspan.hpp>

Public Types

using offset_policy = accessor_basic
 
using element_type = ElementType
 
using reference = ElementType &
 
using pointer = ElementType *
 

Public Member Functions

constexpr pointer offset (pointer p, ptrdiff_t i) const noexcept
 
constexpr reference access (pointer p, ptrdiff_t i) const noexcept
 
constexpr pointer decay (pointer p) const noexcept
 

Member Typedef Documentation

◆ element_type

template<class ElementType >
using fub::accessor_basic< ElementType >::element_type = ElementType

◆ offset_policy

template<class ElementType >
using fub::accessor_basic< ElementType >::offset_policy = accessor_basic

◆ pointer

template<class ElementType >
using fub::accessor_basic< ElementType >::pointer = ElementType*

◆ reference

template<class ElementType >
using fub::accessor_basic< ElementType >::reference = ElementType&

Member Function Documentation

◆ access()

template<class ElementType >
constexpr reference fub::accessor_basic< ElementType >::access ( pointer  p,
ptrdiff_t  i 
) const
inlineconstexprnoexcept

◆ decay()

template<class ElementType >
constexpr pointer fub::accessor_basic< ElementType >::decay ( pointer  p) const
inlineconstexprnoexcept

◆ offset()

template<class ElementType >
constexpr pointer fub::accessor_basic< ElementType >::offset ( pointer  p,
ptrdiff_t  i 
) const
inlineconstexprnoexcept

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