discretize.TensorMesh.to_omf#

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

Convert this mesh object to it’s 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