Skip to content

feat: mesh for test in mesh-doctor#257

Merged
jafranc merged 2 commits into
mainfrom
jafranc/feat/testmeshGenerator
Jun 2, 2026
Merged

feat: mesh for test in mesh-doctor#257
jafranc merged 2 commits into
mainfrom
jafranc/feat/testmeshGenerator

Conversation

@jafranc
Copy link
Copy Markdown
Collaborator

@jafranc jafranc commented Jun 1, 2026

Reusing and extending small meshes generation functions to build test for mesh-doctor utilities. It introduces:

  • test_orphan.py testig regular full 3D, 2D/3D with no orphan and with orphan for count and indexes
  • test_euler.py regular meshes and non-manifold volume (bow-tie) and surfacic (flap) as well as throw for pure 2D (as expected)

adding to already existing test

  • test_collocatedNodes.py another mesh with collocation with check of indexes
  • test_elementVolume.py with a negative cell above or not the threshold
  • test_selfIntersecting.py with a wrongfully oriented face

To be discussed if old tests are to be kept or not (as this approach centralize generation).

@jafranc jafranc self-assigned this Jun 1, 2026
@jafranc jafranc added flag: ready for review type: feature test-geos-integration Triggers the testing of geosPythonPackages import and integration in GEOS CI labels Jun 1, 2026
@jafranc jafranc requested a review from bd713 June 1, 2026 14:15
Comment thread misc/mesh_gen.py Outdated
@jafranc jafranc merged commit c2ccfee into main Jun 2, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flag: ready for review test-geos-integration Triggers the testing of geosPythonPackages import and integration in GEOS CI type: feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants