Public Types | |
| typedef Tensor< 1, dim > | value_type |
| typedef Tensor< 2, dim > | gradient_type |
| typedef SymmetricTensor< 2, dim > | symmetric_gradient_type |
| typedef double | divergence_type |
| typedef Tensor< 3, dim > | hessian_type |
Public Member Functions | |
| Vector (const FEValuesBase< dim > &fe_values_base, const unsigned int first_vector_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 |
| symmetric_gradient_type | symmetric_gradient (const unsigned int shape_function, const unsigned int q_point) const |
| divergence_type | divergence (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 | first_vector_component |
dim components forming a vector part of a vector-valued finite element. Views are discussed in the Handling vector valued problems module. | typedef Tensor<1,dim> FEValuesViews::Vector< dim >::value_type |
A typedef for the data type of values of the view this class represents. Since we deal with a set of dim components, the value type is a Tensor<1,dim>.
| typedef Tensor<2,dim> FEValuesViews::Vector< dim >::gradient_type |
A typedef for the type of gradients of the view this class represents. Here, for a set of dim components of the finite element, the gradient is a Tensor<2,dim>.
| typedef SymmetricTensor<2,dim> FEValuesViews::Vector< dim >::symmetric_gradient_type |
A typedef for the type of symmetrized gradients of the view this class represents. Here, for a set of dim components of the finite element, the symmetrized gradient is a SymmetricTensor<2,dim>.
| typedef double FEValuesViews::Vector< dim >::divergence_type |
A typedef for the type of the divergence of the view this class represents. Here, for a set of dim components of the finite element, the divergence of course is a scalar.
| typedef Tensor<3,dim> FEValuesViews::Vector< dim >::hessian_type |
A typedef for the type of second derivatives of the view this class represents. Here, for a set of dim components of the finite element, the Hessian is a Tensor<3,dim>.
| FEValuesViews::Vector< dim >::Vector | ( | const FEValuesBase< dim > & | fe_values_base, | |
| const unsigned int | first_vector_component | |||
| ) |
Constructor for an object that represents dim components of a FEValuesBase object (or of one of the classes derived from FEValuesBase), representing a vector-valued variable.
The second argument denotes the index of the first component of the selected vector.
| value_type FEValuesViews::Vector< dim >::value | ( | const unsigned int | shape_function, | |
| const unsigned int | q_point | |||
| ) | const |
Return the value of the vector components selected by this view, for the shape function and quadrature point selected by the arguments. Here, since the view represents a vector-valued part of the FEValues object with dim components, the return type is a tensor of rank 1 with dim components.
| gradient_type FEValuesViews::Vector< dim >::gradient | ( | const unsigned int | shape_function, | |
| const unsigned int | q_point | |||
| ) | const |
Return the gradient (a tensor of rank 2) of the vector component selected by this view, for the shape function and quadrature point selected by the arguments.
| symmetric_gradient_type FEValuesViews::Vector< dim >::symmetric_gradient | ( | const unsigned int | shape_function, | |
| const unsigned int | q_point | |||
| ) | const |
Return the symmetric gradient (a symmetric tensor of rank 2) of the vector component selected by this view, for the shape function and quadrature point selected by the arguments.
The symmetric gradient is defined as
, where
represents the dim components selected from the FEValuesBase object, and
is the location of the
-th quadrature point.
| divergence_type FEValuesViews::Vector< dim >::divergence | ( | const unsigned int | shape_function, | |
| const unsigned int | q_point | |||
| ) | const |
Return the scalar divergence of the vector components selected by this view, for the shape function and quadrature point selected by the arguments.
| hessian_type FEValuesViews::Vector< 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 components selected by this view, for the shape function and quadrature point selected by the arguments.
const FEValuesBase<dim>& FEValuesViews::Vector< dim >::fe_values [private] |
A reference to the FEValuesBase object we operator on.
const unsigned int FEValuesViews::Vector< dim >::first_vector_component [private] |
The first component of the vector this view represents of the FEValuesBase object.
documentation generated on Fri Nov 21 07:13:44 2008 by
doxygen
1.5.6