9#include <kernel/space/parametric_evaluator.hpp>
10#include <kernel/space/dof_mapping_common.hpp>
11#include <kernel/space/lagrange2/details.hpp>
33 typename TrafoEvaluator_,
34 typename SpaceEvalTraits_,
35 typename Shape_ =
typename Space_::ShapeType>
67 typedef typename SpaceEvalTraits::DataType
DataType;
91 return EvalHp::get_num_local_dofs();
103 template<
typename EvalData_>
108 EvalHp::template eval_ref_values<EvalData_>(data, point);
120 template<
typename EvalData_>
125 EvalHp::template eval_ref_gradients<EvalData_>(data, point);
138 template<
typename EvalData_>
143 EvalHp::template eval_ref_hessians<EvalData_>(data, point);
Lagrange-2 Element Evaluator class template declaration.
EvalPolicy::DomainPointType DomainPointType
domain point type
Shape_ ShapeType
shape type
Space_ SpaceType
space type
Evaluator(const SpaceType &space)
Constructor.
void eval_ref_gradients(EvalData_ &data, const DomainPointType &point) const
Evaluates the basis function gradients on the reference cell.
ParametricEvaluator< Evaluator, TrafoEvaluator_, SpaceEvalTraits_, ref_caps > BaseClass
base-class typedef
SpaceEvalTraits_ SpaceEvalTraits
space evaluation traits
EvalHelper< DomainPointType, DataType, ShapeType > EvalHp
evaluation helper, see details.hpp
void eval_ref_hessians(EvalData_ &data, const DomainPointType &point) const
Evaluates the basis function hessians on the reference cell.
void eval_ref_values(EvalData_ &data, const DomainPointType &point) const
Evaluates the basis function values on the reference cell.
SpaceEvalTraits::DataType DataType
data type
int get_num_local_dofs() const
Returns the number of local DOFs.
SpaceEvalTraits::EvalPolicy EvalPolicy
evaluation policy
Finite-Element Parametric Evaluator CRTP base-class template.
static constexpr SpaceTags ref_caps
Lagrange-2 Element Evaluator reference capabilities.
SpaceTags
Space configuration tags enum.
@ ref_value
specifies whether the space should supply reference basis function values
@ ref_hess
specifies whether the space should supply reference basis function hessians
@ ref_grad
specifies whether the space should supply reference basis function gradients