@@ -30,7 +30,7 @@ This means you can work with:
3030- 2D triangles in 3D space (surface meshes for graphics/CFD)
3131- 3D tetrahedra in 3D space (volume meshes for FEM/CFD)
3232- 1D edges in 3D space (curve meshes for path planning)
33- - Any other n -dimensional manifold in m -dimensional space (where n ≤ m )
33+ - Any other $n$ -dimensional manifold in $m$ -dimensional space (where $n \leq m$ )
3434
3535all with the same API. PhysicsNeMo-Mesh's API design takes heavy inspiration from
3636[ PyVista] ( https://pyvista.org/ ) , but it is designed to be a) end-to-end
@@ -85,7 +85,7 @@ performance benefits.
8585** Mesh Operations:**
8686
8787- ** Subdivision** : Linear, [ Loop] ( https://en.wikipedia.org/wiki/Loop_subdivision_surface )
88- (C² ), and [ Butterfly] ( https://en.wikipedia.org/wiki/Butterfly_subdivision_surface )
88+ ($C^2$ ), and [ Butterfly] ( https://en.wikipedia.org/wiki/Butterfly_subdivision_surface )
8989 (interpolating) schemes
9090- ** Smoothing** : [ Laplacian smoothing] ( https://en.wikipedia.org/wiki/Laplacian_smoothing )
9191 with feature preservation
@@ -193,7 +193,7 @@ graphics/CAD mesh.
193193
194194Then, with ` mesh.draw() ` , you can visualize the mesh:
195195
196- ![ Airplane Mesh] ( examples/readme_examples /airplane.png)
196+ ![ Airplane Mesh] ( ../../docs/img/mesh /airplane.png)
197197
198198### Computing Curvature
199199
@@ -210,7 +210,7 @@ mesh.draw(
210210)
211211```
212212
213- ![ Gaussian Curvature] ( examples/readme_examples /airplane_gaussian_curvature.png)
213+ ![ Gaussian Curvature] ( ../../docs/img/mesh /airplane_gaussian_curvature.png)
214214
215215* Warmer colors indicate positive Gaussian curvature (convex regions), cooler colors
216216indicate negative Gaussian curvature (concave regions).*
@@ -226,7 +226,7 @@ mesh.draw(
226226)
227227```
228228
229- ![ Mean Curvature] ( examples/readme_examples /airplane_mean_curvature.png)
229+ ![ Mean Curvature] ( ../../docs/img/mesh /airplane_mean_curvature.png)
230230
231231* Warmer colors indicate positive mean curvature (convex regions), cooler colors
232232indicate negative mean curvature (concave regions).*
@@ -242,7 +242,7 @@ mesh_with_grad = mesh.compute_point_derivatives(keys="temperature", method="lsq"
242242grad_T = mesh_with_grad.point_data[" temperature_gradient" ]
243243
244244print (f " Gradient shape: { grad_T.shape} " ) # (n_points, n_spatial_dims)
245- print (f " ∇ T = { grad_T[0 ]} " ) # tensor([1.0000, 2.0000])
245+ print (f " grad T = { grad_T[0 ]} " ) # tensor([1.0000, 2.0000])
246246```
247247
248248### Moving to GPU
@@ -295,7 +295,7 @@ Comprehensive overview of PhysicsNeMo-Mesh capabilities:
295295| Mean curvature | ✅ | [ Cotangent Laplacian] ( https://en.wikipedia.org/wiki/Discrete_Laplace_operator#Mesh_Laplacians ) |
296296| ** Subdivision** | | |
297297| Linear | ✅ | Midpoint subdivision |
298- | Loop | ✅ | C² smooth, approximating |
298+ | Loop | ✅ | $C^2$ smooth, approximating |
299299| Butterfly | ✅ | Interpolating |
300300| ** Smoothing** | | |
301301| Laplacian smoothing | ✅ | |
@@ -422,7 +422,7 @@ neighbors of mesh elements (i.e., based on the mesh connectivity,as opposed to
422422Note that these use an efficient sparse (` indices ` , ` offsets ` ) encoding of the
423423adjacency relationships, which is used internally for all computations. (See the
424424dedicated
425- [ ` physicsnemo.mesh.neighbors._adjacency.py ` ] ( physicsnemo/mesh/ neighbors/_adjacency.py)
425+ [ ` physicsnemo.mesh.neighbors._adjacency.py ` ] ( neighbors/_adjacency.py )
426426module.) You can convert these to a typical ragged list-of-lists representation
427427with ` .to_list() ` , which is useful for debugging or interoperability, at the
428428cost of performance:
@@ -540,35 +540,35 @@ Key design decisions enable these principles:
540540
541541## Documentation & Resources
542542
543- - ** Examples** : See [ ` examples/ ` ] ( examples/ ) directory for runnable demonstrations
544- - ** Tests** : See [ ` test/ ` ] ( test/ ) directory for comprehensive test suite showing usage
545- patterns
546- - ** Source** : Explore [ ` physicsnemo/mesh/ ` ] ( physicsnemo/mesh/ ) for implementation details
543+ - ** Examples** : See [ ` examples/ ` ] ( ../../ examples/) directory for runnable demonstrations
544+ - ** Tests** : See [ ` test/mesh/ ` ] ( ../../ test/mesh/ ) directory for comprehensive test
545+ suite showing usage patterns
546+ - ** Source** : Explore the source modules in this directory for implementation details
547547
548548** Module Organization:**
549549
550- - [ ` physicsnemo.mesh.calculus ` ] ( physicsnemo/mesh/ calculus/) - Discrete differential
550+ - [ ` physicsnemo.mesh.calculus ` ] ( calculus/ ) - Discrete differential
551551 operators
552- - [ ` physicsnemo.mesh.curvature ` ] ( physicsnemo/mesh/ curvature/) - Gaussian and mean
552+ - [ ` physicsnemo.mesh.curvature ` ] ( curvature/ ) - Gaussian and mean
553553 curvature
554- - [ ` physicsnemo.mesh.subdivision ` ] ( physicsnemo/mesh/ subdivision/) - Mesh refinement
554+ - [ ` physicsnemo.mesh.subdivision ` ] ( subdivision/ ) - Mesh refinement
555555 schemes
556- - [ ` physicsnemo.mesh.boundaries ` ] ( physicsnemo/mesh/ boundaries/) - Boundary detection
556+ - [ ` physicsnemo.mesh.boundaries ` ] ( boundaries/ ) - Boundary detection
557557 and facet extraction
558- - [ ` physicsnemo.mesh.neighbors ` ] ( physicsnemo/mesh/ neighbors/) - Adjacency computations
559- - [ ` physicsnemo.mesh.spatial ` ] ( physicsnemo/mesh/ spatial/) - BVH and spatial queries
560- - [ ` physicsnemo.mesh.sampling ` ] ( physicsnemo/mesh/ sampling/) - Point sampling and
558+ - [ ` physicsnemo.mesh.neighbors ` ] ( neighbors/ ) - Adjacency computations
559+ - [ ` physicsnemo.mesh.spatial ` ] ( spatial/ ) - BVH and spatial queries
560+ - [ ` physicsnemo.mesh.sampling ` ] ( sampling/ ) - Point sampling and
561561 interpolation
562- - [ ` physicsnemo.mesh.transformations ` ] ( physicsnemo/mesh/ transformations/) - Geometric
562+ - [ ` physicsnemo.mesh.transformations ` ] ( transformations/ ) - Geometric
563563 operations
564- - [ ` physicsnemo.mesh.repair ` ] ( physicsnemo/mesh/ repair/) - Mesh cleaning and topology
564+ - [ ` physicsnemo.mesh.repair ` ] ( repair/ ) - Mesh cleaning and topology
565565 repair
566- - [ ` physicsnemo.mesh.validation ` ] ( physicsnemo/mesh/ validation/) - Quality metrics
566+ - [ ` physicsnemo.mesh.validation ` ] ( validation/ ) - Quality metrics
567567 and statistics
568- - [ ` physicsnemo.mesh.visualization ` ] ( physicsnemo/mesh/ visualization/) - Matplotlib
568+ - [ ` physicsnemo.mesh.visualization ` ] ( visualization/ ) - Matplotlib
569569 and PyVista backends
570- - [ ` physicsnemo.mesh.io ` ] ( physicsnemo/mesh/ io/) - PyVista import/export
571- - [ ` physicsnemo.mesh.examples ` ] ( physicsnemo/mesh/examples /) - Example mesh generators
570+ - [ ` physicsnemo.mesh.io ` ] ( io/ ) - PyVista import/export
571+ - [ ` physicsnemo.mesh.primitives ` ] ( primitives /) - Example mesh generators
572572
573573---
574574
0 commit comments