discretize.mixins.TreeMeshIO.read_model_UBC#
- TreeMeshIO.read_model_UBC(file_name, directory=None)[source]#
Read UBC-GIF formatted file model file for 3D tree mesh (OcTree).
- Parameters:
- Returns:
- (
n_cells
)numpy.ndarray
ordict
of
[str
, (n_cells
)numpy.ndarray
] The model defined on the mesh. If file_name is a
dict
, it is a dictionary of models indexed by the file names.
- (