Reference documentation for deal.II version 8.5.1
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

typedef Tensor< 2, n_rank2_components, Number > base_tensor_type
 

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

Member Typedef Documentation

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

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 208 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 193 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 199 of file symmetric_tensor.h.


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