discretize.mixins.InterfaceOMF.to_omf#
- InterfaceOMF.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:
- models
dict
of
[str
, (n_cells
)numpy.ndarray
],optional
Name(‘s) and array(‘s).
- models
- Returns: