Public Types | |
| typedef double | value_type |
| typedef Tensor< 1, dim > | gradient_type |
| typedef Tensor< 2, dim > | hessian_type |
Public Member Functions | |
| Scalar (const FEValuesBase< dim > &fe_values_base, const unsigned int component) | |
| value_type | value (const unsigned int shape_function, const unsigned int q_point) const |
| gradient_type | gradient (const unsigned int shape_function, const unsigned int q_point) const |
| hessian_type | hessian (const unsigned int shape_function, const unsigned int q_point) const |
Private Attributes | |
| const FEValuesBase< dim > & | fe_values |
| const unsigned int | component |
| typedef double FEValuesViews::Scalar< dim >::value_type |
A typedef for the data type of values of the view this class represents. Since we deal with a single components, the value type is a scalar double.
| typedef Tensor<1,dim> FEValuesViews::Scalar< dim >::gradient_type |
A typedef for the type of gradients of the view this class represents. Here, for a scalar component of the finite element, the gradient is a Tensor<1,dim>.
| typedef Tensor<2,dim> FEValuesViews::Scalar< dim >::hessian_type |
A typedef for the type of second derivatives of the view this class represents. Here, for a scalar component of the finite element, the Hessian is a Tensor<2,dim>.
| FEValuesViews::Scalar< dim >::Scalar | ( | const FEValuesBase< dim > & | fe_values_base, | |
| const unsigned int | component | |||
| ) |
Constructor for an object that represents a single scalar component of a FEValuesBase object (or of one of the classes derived from FEValuesBase).
| value_type FEValuesViews::Scalar< dim >::value | ( | const unsigned int | shape_function, | |
| const unsigned int | q_point | |||
| ) | const |
Return the value of the vector component selected by this view, for the shape function and quadrature point selected by the arguments.
| gradient_type FEValuesViews::Scalar< dim >::gradient | ( | const unsigned int | shape_function, | |
| const unsigned int | q_point | |||
| ) | const |
Return the gradient (a tensor of rank 1) of the vector component selected by this view, for the shape function and quadrature point selected by the arguments.
| hessian_type FEValuesViews::Scalar< dim >::hessian | ( | const unsigned int | shape_function, | |
| const unsigned int | q_point | |||
| ) | const |
Return the Hessian (the tensor of rank 2 of all second derivatives) of the vector component selected by this view, for the shape function and quadrature point selected by the arguments.
const FEValuesBase<dim>& FEValuesViews::Scalar< dim >::fe_values [private] |
A reference to the FEValuesBase object we operator on.
const unsigned int FEValuesViews::Scalar< dim >::component [private] |
The single scalar component this view represents of the FEValuesBase object.
documentation generated on Fri Nov 21 07:13:44 2008 by
doxygen
1.5.6