discretize.mixins.InterfaceOMF.to_omf#
- InterfaceOMF.to_omf(models=None)[source]#
Convert to an
omfdata object.Convert this mesh object to its proper
omfdata object with the given model dictionary as the cell data of that dataset.- Parameters:
- models
dictof[str, (n_cells)numpy.ndarray],optional Name(‘s) and array(‘s).
- models
- Returns: