Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
002309b
Fixes repr that gets overwritten, using strategy from Mesh
peterdsharpe Apr 9, 2026
c770d72
Refactor DomainMesh to replace _map_meshes with a new apply method th…
peterdsharpe Apr 9, 2026
4169e31
Adds domainmesh tutorial
peterdsharpe Apr 9, 2026
49514ad
Add optional plotter parameter to draw_mesh_pyvista function for reus…
peterdsharpe Apr 9, 2026
3c890e4
Update documentation for 'ax' parameter in Mesh and draw_mesh functio…
peterdsharpe Apr 9, 2026
2b59eaf
Bugfix in n_boundaries calculation
peterdsharpe Apr 9, 2026
e03831b
Enhance DomainMesh functionality by updating merge_boundaries to prod…
peterdsharpe Apr 9, 2026
f82744e
standardize function names
peterdsharpe Apr 9, 2026
360b698
docs fix
peterdsharpe Apr 9, 2026
caee06e
docs
peterdsharpe Apr 9, 2026
5a0d6dc
deduplicate logic
peterdsharpe Apr 9, 2026
27be00b
Enhance error message
peterdsharpe Apr 9, 2026
81985aa
Simplifies draw method
peterdsharpe Apr 9, 2026
2465d95
Update tutorial_7_domain_mesh.ipynb to improve output formatting and …
peterdsharpe Apr 9, 2026
69a002e
Add match_points function for near-exact vertex matching between poin…
peterdsharpe Apr 9, 2026
20d6cd8
Merge branch 'main' into psharpe/domainmesh-improvements-and-docs
peterdsharpe Apr 9, 2026
4be8e77
formatting
peterdsharpe Apr 9, 2026
1ffcccf
formatting
peterdsharpe Apr 9, 2026
50f7ef4
formatting
peterdsharpe Apr 9, 2026
602b181
Refactor tutorial_7_domain_mesh.ipynb to standardize execution counts…
peterdsharpe Apr 9, 2026
da43399
docs
peterdsharpe Apr 9, 2026
f0f932e
Adds testing for match_points
peterdsharpe Apr 9, 2026
c9742ea
remove unused import
peterdsharpe Apr 9, 2026
d04fd69
finalize notebook
peterdsharpe Apr 9, 2026
64adf6a
Add test for matplotlib backend error handling in PyVista Plotter
peterdsharpe Apr 10, 2026
c4761e4
Enhance error handling for matplotlib and PyVista backends
peterdsharpe Apr 10, 2026
c9391c3
Update documentation for draw_mesh functions in matplotlib and PyVist…
peterdsharpe Apr 10, 2026
6f8c0b3
docs
peterdsharpe Apr 21, 2026
524ef78
Merge branch 'main' into psharpe/domainmesh-improvements-and-docs
peterdsharpe Apr 21, 2026
03b661f
Fixes dangling old method name
peterdsharpe Apr 21, 2026
1996b52
Add tests for DomainMesh boundary properties and watertightness
peterdsharpe Apr 21, 2026
45bca2a
Update tutorial_7_domain_mesh.ipynb to enhance output clarity and str…
peterdsharpe Apr 21, 2026
a1e48aa
Enhance match_points function documentation and logic
peterdsharpe Apr 21, 2026
e7da026
Fix edgecolors handling in Poly3DCollection for compatibility with ma…
peterdsharpe Apr 21, 2026
92a73a4
Enhance pyvista implementation with BasePlotter support
peterdsharpe Apr 21, 2026
739d376
Adds a tolerance to watertight check
peterdsharpe Apr 21, 2026
562a2d5
- Updated the `merge_boundaries` method to include a `preserve_data` …
peterdsharpe Apr 21, 2026
c67db87
Enhance DomainMesh draw method with additional parameters for improve…
peterdsharpe Apr 21, 2026
1952c62
Refactor and expand tests for DomainMesh boundary handling and visual…
peterdsharpe Apr 21, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions examples/minimal/mesh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pip install -e ".[mesh]"
| **4. Neighbors & Spatial** | Queries | Adjacency, BVH, sampling, interpolation |
| **5. Quality & Repair** | Mesh health | Validation, quality metrics, repair |
| **6. ML Integration** | Production workflows | Performance, batching, torch.compile |
| **7. Domain Mesh** | Simulation domains | DomainMesh, boundaries, transforms, validation |
<!-- markdownlint-enable MD013 -->

## Running the Tutorials
Expand Down Expand Up @@ -153,6 +154,19 @@ Learn to use PhysicsNeMo-Mesh in production ML pipelines.
- End-to-end CAE preprocessing workflow
- torch.compile compatibility

### Tutorial 7: Simulation Domains with DomainMesh

**File**: `tutorial_7_domain_mesh.ipynb`

Learn to represent full simulation domains with interior meshes and named boundaries.

- Building a DomainMesh from mesh primitives (cube volume + boundary surfaces)
- Inspecting domain properties and iterating over meshes
- Data augmentation via geometric transforms (quasi-equivariance)
- Validation and boundary watertightness checking
- Visualization of boundary patches by BC type
- Domain-wide operations (subdivide, clean)

## Assets

The `assets/` directory contains pre-saved meshes for use in tutorials:
Expand Down
Loading
Loading