Reference documentation for deal.II version 9.1.1
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
Public Member Functions | Public Attributes | List of all members

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

Public Member Functions

 Scalar ()
 
 Scalar (const unsigned int component)
 
std::string get_name () const
 

Public Attributes

unsigned int component
 

Detailed Description

Extractor for a single scalar component of a vector-valued element. The result of applying an object of this type to an FEValues, FEFaceValues or FESubfaceValues object is of type FEValuesViews::Scalar. The concept of extractors is defined in the documentation of the namespace FEValuesExtractors and in the Handling vector valued problems module.

Definition at line 95 of file fe_values_extractors.h.

Constructor & Destructor Documentation

◆ Scalar() [1/2]

FEValuesExtractors::Scalar::Scalar ( )
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 283 of file fe_values_extractors.h.

◆ Scalar() [2/2]

FEValuesExtractors::Scalar::Scalar ( const unsigned int  component)
inline

Constructor. Take the selected vector component as argument.

Definition at line 289 of file fe_values_extractors.h.

Member Function Documentation

◆ get_name()

std::string FEValuesExtractors::Scalar::get_name ( ) const

Return a string that uniquely identifies this finite element extractor.

Definition at line 25 of file fe_values_extractors.cc.

Member Data Documentation

◆ component

unsigned int FEValuesExtractors::Scalar::component

The selected scalar component of the vector.

Definition at line 100 of file fe_values_extractors.h.


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