MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / _interpolate

Method _interpolate

python/dolfinx/fem/function.py:516–518  ·  view source on GitHub ↗

Interpolate a cpp.fem.Function.

(u0)

Source from the content-addressed store, hash-verified

514
515 @singledispatch
516 def _interpolate(u0):
517 """Interpolate a cpp.fem.Function."""
518 self._cpp_object.interpolate(u0, cells0, cells1)
519
520 @_interpolate.register(Function)
521 def _(u0: Function):

Callers

nothing calls this directly

Calls 1

interpolateMethod · 0.45

Tested by

no test coverage detected