Skip to content

Commit 028fc46

Browse files
committed
add clarification on adjoint interpolation
1 parent 1a961e5 commit 028fc46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

firedrake/interpolation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def interpolate(expr, V, *args, **kwargs):
149149
:arg expr: a UFL expression.
150150
:arg V: the :class:`.FunctionSpace` to interpolate into (or else
151151
an existing :class:`.Function` or :class:`.Cofunction`).
152+
Adjoint interpolation requires ``V`` to be a :class:`.Cofunction`.
152153
:kwarg subset: An optional :class:`pyop2.types.set.Subset` to apply the
153154
interpolation over. Cannot, at present, be used when interpolating
154155
across meshes unless the target mesh is a :func:`.VertexOnlyMesh`.

0 commit comments

Comments
 (0)