Feature/lagrangeinterpolate with general container
Two changes made to the generic
local finite element implementations:
-
the interpolation can now take a more general vector container, i.e., is not restricted to
std::vector
. This simplifies using wrapped dof vectors, e.g., a masked vector -
the basis function also has a
hessian
method - thepartial
method is extended accordingly buthessian
method can also be used directly returning a vector with value typeFV<FV<Field,d,d>,r>
. Since the full hessian is computed in any case this is more efficient then usingpartial
(which requires the computation of the full hessian (d+1)d/2 times
Thi MR only adds features so should not interfere with existing code