Skip to content

Commit 800bf4c

Browse files
committed
Fix Submesh
1 parent af08062 commit 800bf4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firedrake/interpolation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ def _interpolator(tensor, expr, subset, access, bcs=None):
10551055

10561056
# Compute the reciprocal of the DOF multiplicity
10571057
m_ = get_interp_node_map(source_mesh, target_mesh, W)
1058-
m_indices = W.dof_dset.scalar_lgmap.apply(m_.values)
1058+
m_indices = W.dof_dset.scalar_lgmap.apply(m_.values[cell_set.indices])
10591059
m_shape = m_indices.shape + W.shape
10601060
wdat = W.make_dat()
10611061
with wdat.vec as w:

0 commit comments

Comments
 (0)