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_namestr or file 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.

directorystr, optional

output directory