Skip to content

Commit

Permalink
Track Firedrake changes to FunctionSpace.boundary_nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed May 13, 2021
1 parent 6bab0e7 commit 6b2bd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshmode/interop/firedrake/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def _get_cells_to_use(fdrake_mesh, bdy_id):
cfspace = fdrake_mesh.coordinates.function_space()
cell_node_list = cfspace.cell_node_list

boundary_nodes = cfspace.boundary_nodes(bdy_id, "topological")
boundary_nodes = cfspace.boundary_nodes(bdy_id)
# Reduce along each cell: Is a vertex of the cell in boundary nodes?
cell_is_near_bdy = np.any(np.isin(cell_node_list, boundary_nodes), axis=1)

Expand Down

0 comments on commit 6b2bd65

Please sign in to comment.