Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional polygon parameter in contacts_compute_boundary api #94

Merged
merged 10 commits into from
Oct 16, 2023

Conversation

lucacarniato
Copy link
Contributor

No description provided.

…f mesh1d from the contacts computation

Add test test_contacts_compute_boundary_with_no_polygon for testing contacts_compute_boundary with no polygon
@lucacarniato lucacarniato linked an issue Oct 11, 2023 that may be closed by this pull request
) -> None:
"""Computes Mesh1d-Mesh2d contacts, where Mesh1d nodes are connected to the closest Mesh2d faces at the boundary

Args:
node_mask (ndarray): A boolean array describing whether Mesh1d nodes should or
should not be connected
points (GeometryList): The points selecting the Mesh2d faces to connect.
points (GeometryList, optional): The points selecting the Mesh2d faces to connect.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arg doc (points) does not correspond to actual method arg (polygons)

tests/test_mesh1d_basics.py Outdated Show resolved Hide resolved
@ahmad-el-sayed ahmad-el-sayed merged commit 2e30bab into main Oct 16, 2023
8 checks passed
@ahmad-el-sayed ahmad-el-sayed deleted the feature/GRIDEDIT-709_optional_arguments branch November 20, 2023 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make arguments for contacts_compute_boundary() optional
2 participants