Reference documentation for deal.II version Git 34859fde61 2019-12-10 11:26:22 -0700
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Types | Static Public Attributes | List of all members
internal::SymmetricTensorAccessors::StorageType< 2, dim, Number > Struct Template Reference

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

Public Types

using base_tensor_type = Tensor< 1, n_independent_components, Number >
 

Static Public Attributes

static const unsigned int n_independent_components
 

Detailed Description

template<int dim, typename Number>
struct internal::SymmetricTensorAccessors::StorageType< 2, dim, Number >

Specialization of StorageType for rank-2 tensors.

Definition at line 214 of file symmetric_tensor.h.

Member Typedef Documentation

◆ base_tensor_type

template<int dim, typename Number >
using internal::SymmetricTensorAccessors::StorageType< 2, dim, Number >::base_tensor_type = Tensor<1, n_independent_components, Number>

Declare the type in which we actually store the data.

Definition at line 226 of file symmetric_tensor.h.

Member Data Documentation

◆ n_independent_components

template<int dim, typename Number >
const unsigned int internal::SymmetricTensorAccessors::StorageType< 2, dim, Number >::n_independent_components
static
Initial value:
=
(dim * dim + dim) / 2

Number of independent components of a symmetric tensor of rank 2. We store only the upper right half of it.

Definition at line 220 of file symmetric_tensor.h.


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