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
directorystr, optional

output directory