9#include <kernel/space/node_functional_base.hpp> 
   39        static constexpr int max_assigned_dofs = 1;
 
   41        template<
typename Function_>
 
   48        typedef typename Space_::TrafoType TrafoType;
 
   50        typedef typename TrafoEvalType::EvalTraits TrafoEvalTraits;
 
   51        typedef typename TrafoEvalTraits::DataType 
DataType;
 
   52        typedef typename TrafoEvalTraits::DomainPointType DomainPointType;
 
   55        typedef typename TrafoEvalType::template ConfigTraits<TrafoTags::img_point>::EvalDataType TrafoEvalData;
 
   57        TrafoEvalType _trafo_eval;
 
   62          _trafo_eval(space.get_trafo())
 
   69          _trafo_eval.prepare(cell_index);
 
   80          return max_assigned_dofs;
 
   83        template<
typename NodeData_, 
typename Function_>
 
   84        void operator()(NodeData_& node_data, 
const Function_& function)
 const 
   86          static_assert(std::is_base_of<Analytic::Function, Function_>::value, 
"invalid function object");
 
   87          static_assert(Function_::can_value, 
"function cannot compute values");
 
   90          typedef Analytic::EvalTraits<DataType_, Function_> FuncEvalTraits;
 
   93          typename Function_::template Evaluator<FuncEvalTraits> func_eval(function);
 
   97          TrafoEvalData trafo_data;
 
  101          node_data[0] = func_eval.value(trafo_data.img_point);
 
Lagrange-1 Element Evaluator class template declaration.
Node-functional base class template.
void finish()
Releases the node-functional from the current cell.
DataType_ DataType
data type
void prepare(Index cell_index)
Prepares the node-functional for a given cell.
Null-Node-Functional class template.
int get_num_assigned_dofs() const
Returns the number of assigned dofs on the current cell.
NodeFunctionalBase< Space_, DataType_ > BaseClass
base-class typedef
void operator()(NodeData_ &node_data, const Function_ &function) const
Evaluation operator.
std::uint64_t Index
Index data type.
@ dom_point
specifies whether the trafo should supply domain point coordinates