3MAH / microgen

Microstructure generation
https://3mah.github.io
GNU General Public License v3.0
65 stars 8 forks source link

Fix remesh example #39

Closed ylgrst closed 6 months ago

ylgrst commented 6 months ago

This PR fixes the given remesh example.

When the output of remesh_keeping_periodicity_for_fem() was changed from pv.UnstructuredGrid only to either pv.UnstructuredGrid or BoxMesh, the example did not take this update into account and tried to call save() method in a BoxMesh, which does not exist (but does in a pv.UnstructuredGrid).