discretize.mixins.TreeMeshIO.write_model_UBC#

TreeMeshIO.write_model_UBC(file_name, model, directory=None)[source]#

Write 3D tree model (OcTree) to UBC-GIF formatted file.

Parameters:
file_namestr

full path for the output mesh file or just its name if directory is specified

model(n_cells) numpy.ndarray

model values defined for each cell

directorystr

output directory (optional)