discretize.TreeMesh.read_model_UBC#
- TreeMesh.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.ndarrayordictof[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.
- (