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

Add some simple gmsh reading tests #413

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MTCam
Copy link
Contributor

@MTCam MTCam commented May 7, 2024

This change set adds a few configurations of a simple 3x3 tensor product element mesh generated by gmsh in order to test that 2D gmsh reading is OK. 4 basic tests are added, but in the end we probably don't need them all.

3x3: positively oriented (counter-clockwise element connectivities)
3x3_twisted: positively oriented, but turned so that the el conn doesn't always start with the lower left vertex
3x3_minus: negatively oriented (clockwise element connectivities)
3x3_bound: negatively oriented w/domain boundaries

The two negatively oriented meshes trigger a re-read with the force_positive_orientation=True option set - just to make sure that it works. The final mesh with the domain boundaries currently fails because the force_positive_orientation=True option loses boundary information.

CC: @inducer, @anderson2981

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.

1 participant