19 #ifndef FE_VALUES_VIEWS_HH 20 #define FE_VALUES_VIEWS_HH 25 template<
unsigned int dim,
unsigned int spacedim>
class FEValuesBase;
37 template<
unsigned int dim,
unsigned int spacedim>
52 double value(
unsigned int function_no,
unsigned int point_no)
const;
59 arma::vec::fixed<spacedim>
grad(
unsigned int function_no,
unsigned int point_no)
const;
74 template<
unsigned int dim,
unsigned int spacedim>
81 first_vector_component_(component)
89 arma::vec::fixed<spacedim>
value(
unsigned int function_no,
unsigned int point_no)
const;
96 arma::mat::fixed<spacedim,spacedim>
grad(
unsigned int function_no,
unsigned int point_no)
const;
103 arma::mat::fixed<spacedim,spacedim> sym_grad(
unsigned int function_no,
unsigned int point_no)
const;
110 double divergence(
unsigned int function_no,
unsigned int point_no)
const;
125 template<
unsigned int dim,
unsigned int spacedim>
unsigned int first_vector_component_
Index of the first component of the vector.
unsigned int component_
Index of the scalar component.
FEValuesBase< dim, spacedim > & fe_values_
Base FEValues class for access to the FE.
FEValuesBase< dim, spacedim > & fe_values_
Base FEValues class for access to the FE.
Vector(FEValuesBase< dim, spacedim > &fe_values, unsigned int component)
double value(unsigned int function_no, unsigned int point_no) const
Return value of scalar shape function.
FEValuesBase< dim, spacedim > & base() const
Returns the FEValuesBase class.
arma::vec::fixed< spacedim > grad(unsigned int function_no, unsigned int point_no) const
Return gradient of scalar shape function.
Base class for FEValues and FESideValues.
Scalar(FEValuesBase< dim, spacedim > &fe_values, unsigned int component)