Reference documentation for deal.II version Git 4abc4a1666 2020-07-04 19:58:34 +0200
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Types | List of all members
TensorAccessors::internal::ReferenceType< T > Struct Template Reference

#include <deal.II/base/tensor_accessors.h>

Public Types

using type = T &

Detailed Description

template<typename T>
struct TensorAccessors::internal::ReferenceType< T >

An internally used type trait to allow nested application of the function reordered_index_view(T &t).

The problem is that when working with the actual tensorial types, we have to return subtensors by reference - but sometimes, especially for StoreIndex and ReorderedIndexView that return rvalues, we have to return by value.

Definition at line 355 of file tensor_accessors.h.

Member Typedef Documentation

◆ type

template<typename T>
using TensorAccessors::internal::ReferenceType< T >::type = T &

Definition at line 357 of file tensor_accessors.h.

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