Reference documentation for deal.II version Git 1dafe5d 2017-11-23 14:01:03 +0100
Public Attributes | List of all members

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

Public Attributes

bool is_nonzero_shape_function_component [spacedim]
 
unsigned int row_index [spacedim]
 
int single_nonzero_component
 

Detailed Description

template<int dim, int spacedim = dim>
struct FEValuesViews::Vector< 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 647 of file fe_values.h.

Member Data Documentation

template<int dim, int spacedim = dim>
bool FEValuesViews::Vector< dim, spacedim >::ShapeFunctionData::is_nonzero_shape_function_component[spacedim]

For each pair (shape function,component within vector), 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 657 of file fe_values.h.

template<int dim, int spacedim = dim>
unsigned int FEValuesViews::Vector< dim, spacedim >::ShapeFunctionData::row_index[spacedim]

For each pair (shape function, component within vector), 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 668 of file fe_values.h.

template<int dim, int spacedim = dim>
int FEValuesViews::Vector< dim, spacedim >::ShapeFunctionData::single_nonzero_component

For each shape function say the following: if only a single entry in is_nonzero_shape_function_component for this shape function is nonzero, then store the corresponding value of row_index and single_nonzero_component_index represents the index between 0 and dim for which it is attained. If multiple components are nonzero, then store -1. If no components are nonzero then store -2.

Definition at line 678 of file fe_values.h.


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