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>
132 first_tensor_component_(component)
140 arma::mat::fixed<spacedim,spacedim>
value(
unsigned int function_no,
unsigned int point_no)
const;
148 arma::mat::fixed<spacedim,spacedim> derivative(
149 unsigned int variable_no,
150 unsigned int function_no,
151 unsigned int point_no)
const;
162 arma::vec::fixed<spacedim> divergence(
unsigned int function_no,
unsigned int point_no)
const;
unsigned int first_vector_component_
Index of the first component of the vector.
Tensor(FEValuesBase< dim, spacedim > &fe_values, unsigned int component)
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.
FEValuesBase< dim, spacedim > & fe_values_
Base FEValues class for access to the FE.
unsigned int first_tensor_component_
Index of the first component of the vector.
Scalar(FEValuesBase< dim, spacedim > &fe_values, unsigned int component)