Skip to content

DMPlexCreateTPSMesh: triply-periodic surface meshing

Jed Brown requested to merge jed/plex-schwarz-p into main

Mesh the surface of the Schwarz P surface with an arbitrary number of refinements. Thanks to Nikita Simonian and Matthias Messner for bringing these surfaces to my attention and for meshing discussion.

The mesh below (colored by rank) was created in parallel using

mpiexec -n 7 $PETSC_ARCH/tests/dm/impls/plex/tutorials/ex10 -dm_view vtk:foo.vtu -extent 2,2,3 -refine 3

Screenshot_20200411_133533

Toby added the Gyroid: Screenshot_20200413_215341

Edited by Jed Brown

Merge request reports