discretize.mixins.TensorMeshIO#
- class discretize.mixins.TensorMeshIO[source]#
Class for managing the input/output of tensor meshes and models.
The
TensorMeshIO
class contains a set of class methods specifically for theTensorMesh
class. These include:Read/write tensor meshes to file
Read/write models defined on tensor meshes
Methods
readModelUBC
(*args, **kwargs)readModelUBC has been removed.
readUBC
(file_name[, directory])Read 2D or 3D tensor mesh from UBC-GIF formatted file.
read_UBC
(file_name[, directory])Read 2D or 3D tensor mesh from UBC-GIF formatted file.
read_model_UBC
(file_name[, directory])Read UBC-GIF formatted model file for 2D or 3D tensor mesh.
writeModelUBC
(*args, **kwargs)writeModelUBC has been removed.
writeUBC
(*args, **kwargs)writeUBC has been removed.
write_UBC
(file_name[, models, directory, ...])Write 2D or 3D tensor mesh (and models) to UBC-GIF formatted file(s).
write_model_UBC
(file_name, model[, directory])Write 2D or 3D tensor model to UBC-GIF formatted file.
Galleries and Tutorials using discretize.mixins.TensorMeshIO
#
Basic Forward 2D DC Resistivity
Plotting: Streamline thickness
Nodal Dirichlet Poisson solution