discretize.mixins.TreeMeshIO.write_model_UBC#
- TreeMeshIO.write_model_UBC(file_name, model, directory='')[source]#
Write 3D tree model (OcTree) to UBC-GIF formatted file.
- Parameters:
- file_name
str
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
- directory
str
output directory (optional)
- file_name