discretize.mixins.TensorMeshIO.write_model_UBC#

TensorMeshIO.write_model_UBC(file_name, model, directory=None)[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