Basic tutorials#

These examples introduce one core graphlow operation at a time.

Read them in order if you are new to the project:

  1. create a TensorMesh from PyVista

  2. compute cell volumes on a volume mesh

  3. extract a boundary surface

  4. compute enclosed volume on a watertight surface

  5. transfer data between points and cells

  6. inspect oriented face area vectors

Create a TensorMesh from a PyVista mesh

Create a TensorMesh from a PyVista mesh

Compute cell volumes on a volume mesh

Compute cell volumes on a volume mesh

Extract a boundary surface from a volume mesh

Extract a boundary surface from a volume mesh

Compute enclosed volume on a surface mesh

Compute enclosed volume on a surface mesh

Transfer data between points and cells

Transfer data between points and cells

Inspect oriented face area vectors

Inspect oriented face area vectors

Advanced examples#

These examples assume you already understand the basic TensorMesh, geometry, and topology workflows.

They focus on optimization loops, continuous metrics, and richer end-to-end applications.

Compute gradient of scalar field on a mesh

Compute gradient of scalar field on a mesh

Target fitting: minimize Chamfer distance to a point cloud

Target fitting: minimize Chamfer distance to a point cloud

Shape optimization: minimize surface area under volume constraint

Shape optimization: minimize surface area under volume constraint

Continuous sphere eversion with graphlow geometry APIs

Continuous sphere eversion with graphlow geometry APIs

Gallery generated by Sphinx-Gallery