discretize.TreeMesh.write_model_UBC#

TreeMesh.write_model_UBC(file_name, model, directory='')[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)