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< 4, dim, Number > Struct Template Reference

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

Public Types

using base_tensor_type = Tensor< 2, n_rank2_components, Number >
 

Static Public Attributes

static const unsigned int n_rank2_components = (dim * dim + dim) / 2
 
static const unsigned int n_independent_components
 

Detailed Description

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

Specialization of StorageType for rank-4 tensors.

Definition at line 235 of file symmetric_tensor.h.

Member Typedef Documentation

◆ base_tensor_type

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

Declare the type in which we actually store the data. Symmetric rank-4 tensors are mappings between symmetric rank-2 tensors, so we can represent the data as a matrix if we represent the rank-2 tensors as vectors.

Definition at line 257 of file symmetric_tensor.h.

Member Data Documentation

◆ n_rank2_components

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

Number of independent components of a symmetric tensor of rank 2. Since rank-4 tensors are mappings between such objects, we need this information.

Definition at line 242 of file symmetric_tensor.h.

◆ n_independent_components

template<int dim, typename Number >
const unsigned int internal::SymmetricTensorAccessors::StorageType< 4, dim, Number >::n_independent_components
static
Initial value:

Number of independent components of a symmetric tensor of rank 4.

Definition at line 247 of file symmetric_tensor.h.


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