magnet.generate.mixed_tets_hexa#

magnet.generate.mixed_tets_hexa(output_path: str, lc: float = 0.05)#

Generate a mixed mesh of tetrahedra and hexahedra.

Generates a mesh of the unit cube, half of tetrahedra and half of hexahedra, with pyramids for the transition between the two.