Reference documentation for deal.II version GIT relicensing-245-g36f19064f7 2024-03-29 07:20:02+00:00
\(\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\}}\)
Loading...
Searching...
No Matches
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 385 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 407 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 392 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:
=
StorageType<2, dim, Number>::n_independent_components)

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

Definition at line 397 of file symmetric_tensor.h.


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