discretize.mixins.TreeMeshIO.read_UBC#

classmethod TreeMeshIO.read_UBC(file_name, directory='')[source]#

Read 3D tree mesh (OcTree mesh) from UBC-GIF formatted file.

Parameters:
file_namestr or file name

full path to the UBC-GIF formatted mesh file or just its name if directory is specified

directorystr, optional

directory where the UBC-GIF file lives

Returns:
discretize.TreeMesh

The tree mesh