discretize.TreeMesh.write_UBC#
- TreeMesh.write_UBC(file_name, models=None, directory=None)[source]#
Write OcTree mesh (and models) to UBC-GIF formatted files.
- Parameters:
- file_name
str
full path for the output mesh file or just its name if directory is specified
- models
dict
of
[str
, (n_cells
)numpy.ndarray
],optional
The dictionary key is a string representing the model’s name. Each model is a 1D numpy array of size (n_cells).
- directory
str
,optional
output directory (optional)
- file_name