LagrangeInterpolator.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class LagrangeInterpolator

This class interpolates efficiently from a GenericFunction to a Lagrange Function

static void interpolate(Function &u, const Expression &u0)

Interpolate Expression

Arguments
u (Function)
The resulting Function
u0 (Expression)
The Expression to be interpolated.
static void interpolate(Function &u, const Function &u0)

Interpolate function (on possibly non-matching meshes)

Arguments
u (Function)
The resulting Function
u0 (Function)
The Function to be interpolated.