19 #ifndef FE_VALUES_VIEWS_HH
20 #define FE_VALUES_VIEWS_HH
25 template<
unsigned int spacedim>
class FEValues;
37 template<
class FV,
unsigned int spacedim = 3>
42 Scalar(
const FV &fe_values,
unsigned int component)
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;
62 const FV &
base()
const;
74 template<
class FV,
unsigned int spacedim = 3>
79 Vector(
const FV &fe_values,
unsigned int 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;
113 const FV &
base()
const;
125 template<
class FV,
unsigned int spacedim = 3>
130 Tensor(
const FV &fe_values,
unsigned int 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;
165 const FV &
base()
const;
const FV & base() const
Returns the FEValues class.
const FV & fe_values_
Base FEValues class for access to the FE.
Scalar(const FV &fe_values, unsigned int component)
unsigned int component_
Index of the scalar component.
double value(unsigned int function_no, unsigned int point_no) const
Return value of scalar shape function.
arma::vec::fixed< spacedim > grad(unsigned int function_no, unsigned int point_no) const
Return gradient of scalar shape function.
const FV & fe_values_
Base FEValues class for access to the FE.
Tensor(const FV &fe_values, unsigned int component)
arma::mat::fixed< spacedim, spacedim > derivative(unsigned int variable_no, unsigned int function_no, unsigned int point_no) const
Return partial derivative of tensor-valued shape function.
arma::mat::fixed< spacedim, spacedim > value(unsigned int function_no, unsigned int point_no) const
Return value of tensor-valued shape function.
arma::vec::fixed< spacedim > divergence(unsigned int function_no, unsigned int point_no) const
Return divergence of tensor-valued shape function.
unsigned int first_tensor_component_
Index of the first component of the vector.
const FV & base() const
Returns the FEValues class.
Vector(const FV &fe_values, unsigned int component)
arma::mat::fixed< spacedim, spacedim > sym_grad(unsigned int function_no, unsigned int point_no) const
Return symmetric gradient of vector-valued shape function.
arma::mat::fixed< spacedim, spacedim > grad(unsigned int function_no, unsigned int point_no) const
Return gradient of vector-valued shape function.
const FV & fe_values_
Base FEValues class for access to the FE.
const FV & base() const
Returns the FEValues class.
double divergence(unsigned int function_no, unsigned int point_no) const
Return divergence of vector-valued shape function.
unsigned int first_vector_component_
Index of the first component of the vector.
arma::vec::fixed< spacedim > value(unsigned int function_no, unsigned int point_no) const
Return value of vector-valued shape function.
Calculates finite element data on the actual cell.