Skip to content

Commit 5263aff

Browse files
committed
add get_interpolator to __all__
1 parent d9bdf14 commit 5263aff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

firedrake/interpolation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
__all__ = (
4545
"interpolate",
4646
"Interpolate",
47+
"get_interpolator",
4748
"DofNotDefinedError",
4849
)
4950

@@ -730,7 +731,7 @@ def build_interpolation_callables(V: WithGeometry, tensor, expr, subset, argumen
730731
raise ValueError("Can't have READ access for output function")
731732

732733
# NOTE: The par_loop is always over the target mesh cells.
733-
target_mesh = as_domain(V)
734+
target_mesh = V.mesh()
734735
source_mesh = extract_unique_domain(operand) or target_mesh
735736
if isinstance(target_mesh.topology, VertexOnlyMeshTopology):
736737
# For trans-mesh interpolation we use a FInAT QuadratureElement as the

0 commit comments

Comments
 (0)