discretize.SimplexMesh.to_omf#

SimplexMesh.to_omf(models=None)[source]#

Convert to an omf data object.

Convert this mesh object to its proper omf data object with the given model dictionary as the cell data of that dataset.

Parameters:
modelsdict of [str, (n_cells) numpy.ndarray], optional

Name(‘s) and array(‘s).

Returns:
omf.volume.VolumeElement