Skip to content

Commit

Permalink
GRIDEDIT-1522: Bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacarniato committed Nov 4, 2024
1 parent 0a58be0 commit f1a8e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/MeshKernel/src/Contacts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ void Contacts::ComputeMultipleContacts(const std::vector<bool>& oneDNodeMask)
const auto maxEdgeLength = m_mesh1d.ComputeMaxLengthSurroundingEdges(firstNode1dMeshEdge);

// compute the nearest 2d face indices
rtree.SearchPoints(m_mesh1d.Node(firstNode1dMeshEdge), 1.1 * maxEdgeLength * maxEdgeLength);
rtree.SearchNearestPoint(m_mesh1d.Node(firstNode1dMeshEdge), 1.1 * maxEdgeLength * maxEdgeLength);

// for each face determine if it is crossing the current 1d edge
const auto numNeighbours = rtree.GetQueryResultSize();
Expand Down

0 comments on commit f1a8e4e

Please sign in to comment.