deal.II version GIT relicensing-1991-gec5bc16adb 2024-10-14 08:00:00+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 Member Functions | Public Attributes | List of all members

#include <deal.II/fe/fe_values_extractors.h>

Public Member Functions

constexpr SymmetricTensor ()
 
constexpr SymmetricTensor (const unsigned int first_tensor_component)
 
std::string get_name () const
 

Public Attributes

unsigned int first_tensor_component
 

Detailed Description

template<int rank>
struct FEValuesExtractors::SymmetricTensor< rank >

Extractor for a symmetric tensor of a rank specified by the template argument. For a second order symmetric tensor, this represents a collection of (dim*dim + dim)/2 components of a vector-valued element. The value of dim is defined by the FEValues object the extractor is applied to. The result of applying an object of this type to an FEValues, FEFaceValues or FESubfaceValues object is of type FEValuesViews::SymmetricTensor.

The concept of extractors is defined in the documentation of the namespace FEValuesExtractors and in the Handling vector valued problems topic.

Definition at line 196 of file fe_values_extractors.h.

Constructor & Destructor Documentation

◆ SymmetricTensor() [1/2]

template<int rank>
constexpr SymmetricTensor< rank >::SymmetricTensor ( )
inlineconstexpr

Default constructor. Initialize the object with an invalid component. This leads to an object that can not be used, but it allows objects of this kind to be put into arrays that require a default constructor upon resizing the array, and then later assigning a suitable object to each element of the array.

Definition at line 337 of file fe_values_extractors.h.

◆ SymmetricTensor() [2/2]

template<int rank>
constexpr SymmetricTensor< rank >::SymmetricTensor ( const unsigned int  first_tensor_component)
inlineconstexpr

Constructor. Take the first component of the selected tensor inside the FEValues object as argument.

Definition at line 343 of file fe_values_extractors.h.

Member Function Documentation

◆ get_name()

template<int rank>
std::string SymmetricTensor< rank >::get_name ( ) const

Return a string that uniquely identifies this finite element extractor.

Definition at line 48 of file fe_values_extractors.cc.

Member Data Documentation

◆ first_tensor_component

template<int rank>
unsigned int FEValuesExtractors::SymmetricTensor< rank >::first_tensor_component

The first component of the tensor view.

Definition at line 201 of file fe_values_extractors.h.


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