Reference documentation for deal.II version 9.1.0-pre
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 229 of file symmetric_tensor.h.

Member Typedef Documentation

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 251 of file symmetric_tensor.h.

Member Data Documentation

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 236 of file symmetric_tensor.h.

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 241 of file symmetric_tensor.h.


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