discretize.TensorMesh.write_model_UBC#
- TensorMesh.write_model_UBC(file_name, model, directory='')[source]#
Write 2D or 3D tensor model to UBC-GIF formatted file.
- Parameters:
- file_name
str
orfile
name
full path for the output mesh file or just its name if directory is specified
- model(
n_cells
)numpy.ndarray
The model to write out.
- directory
str
,optional
output directory
- file_name