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

Fix Mesh.p2e #1131

Merged
merged 4 commits into from
Jun 13, 2024
Merged

Fix Mesh.p2e #1131

merged 4 commits into from
Jun 13, 2024

Conversation

vohonen
Copy link
Contributor

@vohonen vohonen commented Jun 11, 2024

The Mesh.p2e (vertices to edges) method functioned actually as Mesh.e2t (edges to elements). I renamed the original method as e2t and added a new method p2e that produces a map between vertices and edges.

This might have slipped as there were no test cases for Mesh.p2e beforehand. I added cases for both p2e and e2t, and fixed the indentation of the other cases for that particular test.

tests/test_mesh.py Outdated Show resolved Hide resolved
@kinnala kinnala merged commit dd1e1ad into kinnala:master Jun 13, 2024
9 checks passed
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.

2 participants