Reference documentation for deal.II version 9.0.0
Public Member Functions | Public Attributes | List of all members

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

Public Member Functions

 Tensor ()
 
 Tensor (const unsigned int first_tensor_component)
 

Public Attributes

unsigned int first_tensor_component
 

Detailed Description

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

Extractor for a general tensor of a given rank specified by the template argument. For a second order tensor, this represents a collection of (dim*dim) 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::Tensor.

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

Author
Denis Davydov, 2013

Definition at line 189 of file fe_values_extractors.h.

Constructor & Destructor Documentation

◆ Tensor() [1/2]

template<int rank>
Tensor< rank >::Tensor ( )
inline

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 266 of file fe_values_extractors.h.

◆ Tensor() [2/2]

template<int rank>
Tensor< rank >::Tensor ( const unsigned int  first_tensor_component)
inline

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

Definition at line 274 of file fe_values_extractors.h.

Member Data Documentation

◆ first_tensor_component

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

The first component of the tensor view.

Definition at line 194 of file fe_values_extractors.h.


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