FEValuesViews::Vector< dim, spacedim >::ShapeFunctionData Struct Reference

List of all members.

Public Attributes

bool is_nonzero_shape_function_component [dim]
unsigned int row_index [dim]
int single_nonzero_component
unsigned int single_nonzero_component_index

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.


Member Data Documentation

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

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).

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

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.

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.

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

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

deal.II documentation generated on Mon Nov 23 22:58:18 2009 by doxygen 1.6.1