Skip to content

Add SU2 mesh format support and comprehensive unit tests#16

Merged
afshawnlotfi merged 1 commit intomainfrom
4.0.0
Dec 12, 2025
Merged

Add SU2 mesh format support and comprehensive unit tests#16
afshawnlotfi merged 1 commit intomainfrom
4.0.0

Conversation

@afshawnlotfi
Copy link
Member

  • Introduced shared types and mappings for SU2 mesh format in su2fmt/types.py.
  • Implemented a new test suite for SU2 mesh functionality in tests/su2mesh_test.py, covering:
    • Basic mesh creation and properties for 2D and 3D meshes.
    • Mesh creation with boundary markers and different element types.
    • Parsing of simple and whitespace-affected mesh files.
    • Round-trip parsing and exporting of mesh files.
    • Handling of empty meshes and multizone meshes with varying dimensions.
  • Removed outdated test file tests/test_su2mesh.py to streamline testing structure.

- Introduced shared types and mappings for SU2 mesh format in `su2fmt/types.py`.
- Implemented a new test suite for SU2 mesh functionality in `tests/su2mesh_test.py`, covering:
  - Basic mesh creation and properties for 2D and 3D meshes.
  - Mesh creation with boundary markers and different element types.
  - Parsing of simple and whitespace-affected mesh files.
  - Round-trip parsing and exporting of mesh files.
  - Handling of empty meshes and multizone meshes with varying dimensions.
- Removed outdated test file `tests/test_su2mesh.py` to streamline testing structure.
@afshawnlotfi afshawnlotfi merged commit fb1030e into main Dec 12, 2025
4 checks passed
afshawnlotfi added a commit that referenced this pull request Dec 12, 2025
- Introduced shared types and mappings for SU2 mesh format in `su2fmt/types.py`.
- Implemented a new test suite for SU2 mesh functionality in `tests/su2mesh_test.py`, covering:
  - Basic mesh creation and properties for 2D and 3D meshes.
  - Mesh creation with boundary markers and different element types.
  - Parsing of simple and whitespace-affected mesh files.
  - Round-trip parsing and exporting of mesh files.
  - Handling of empty meshes and multizone meshes with varying dimensions.
- Removed outdated test file `tests/test_su2mesh.py` to streamline testing structure.
afshawnlotfi added a commit that referenced this pull request Dec 12, 2025
- Introduced shared types and mappings for SU2 mesh format in `su2fmt/types.py`.
- Implemented a new test suite for SU2 mesh functionality in `tests/su2mesh_test.py`, covering:
  - Basic mesh creation and properties for 2D and 3D meshes.
  - Mesh creation with boundary markers and different element types.
  - Parsing of simple and whitespace-affected mesh files.
  - Round-trip parsing and exporting of mesh files.
  - Handling of empty meshes and multizone meshes with varying dimensions.
- Removed outdated test file `tests/test_su2mesh.py` to streamline testing structure.
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

Comments