Skip to content

Commit

Permalink
fixed several testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
veenstrajelmer committed Oct 27, 2023
1 parent 5edc650 commit d971d2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hydrolib/core/dflowfm/net/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,8 @@ def _link_from_1d_to_2d(

# Computes Mesh1d-Mesh2d contacts, where each single Mesh1d node is connected to one Mesh2d face circumcenter.
# The boundary nodes of Mesh1d (those sharing only one Mesh1d edge) are not connected to any Mesh2d face.
self.meshkernel.contacts_compute_single(node_mask=node_mask, polygons=polygon)
# TODO: tests/dflowfm/test_net.py::test_add_1d2d_links fails with the (now obligatory) projection_factor of 0.0, 0.5, 1.0, 5.0
self.meshkernel.contacts_compute_single(node_mask=node_mask, polygons=polygon, projection_factor=1.0)
self._process()

# Note that the function "contacts_compute_multiple" also computes the connections, but does not take into account
Expand Down

0 comments on commit d971d2f

Please sign in to comment.