Reference documentation for deal.II version 9.2.0
FEValuesViews::Scalar< dim, spacedim >::ShapeFunctionData Struct Reference

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

## Public Attributes

bool is_nonzero_shape_function_component

unsigned int row_index

## Detailed Description

### template<int dim, int spacedim = dim> struct FEValuesViews::Scalar< dim, spacedim >::ShapeFunctionData

A structure where for each shape function we pre-compute a bunch of data that will make later accesses much cheaper.

Definition at line 229 of file fe_values.h.

## ◆ is_nonzero_shape_function_component

template<int dim, int spacedim = dim>
 bool FEValuesViews::Scalar< dim, spacedim >::ShapeFunctionData::is_nonzero_shape_function_component

For each shape function, store whether the selected vector component may be nonzero. For primitive shape functions we know for sure whether a certain scalar component of a given shape function is nonzero, whereas for non-primitive shape functions this may not be entirely clear (e.g. for RT elements it depends on the shape of a cell).

Definition at line 239 of file fe_values.h.

## ◆ row_index

template<int dim, int spacedim = dim>
 unsigned int FEValuesViews::Scalar< dim, spacedim >::ShapeFunctionData::row_index

For each shape function, store the row index within the shape_values, shape_gradients, and shape_hessians tables (the column index is the quadrature point index). If the shape function is primitive, then we can get this information from the shape_function_to_row_table of the FEValues object; otherwise, we have to work a bit harder to compute this information.

Definition at line 249 of file fe_values.h.

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