gustaf.io.mfem#

gustaf/gustaf/io/mfem.py.

io functions for mfem. Supports simple linear elements (straight meshes) For detailed information, see: https://mfem.org/mesh- format-v1.0/#straight-meshes

Functions

export(fname, mesh)

Export mesh in MFEM format.

load(fname)

Load mesh in MFEM format.