Skip to content

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 - the partial method is extended accordingly but hessian method can also be used directly returning a vector with value type FV<FV<Field,d,d>,r>. Since the full hessian is computed in any case this is more efficient then using partial (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

Merge request reports