discretize.mixins.TensorMeshIO#

Inheritance diagram of 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 the TensorMesh 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#

Operators: Cahn Hilliard

Operators: Cahn Hilliard

Basic Forward 2D DC Resistivity

Basic Forward 2D DC Resistivity

Basic: PlotImage

Basic: PlotImage

Plotting: Streamline thickness

Plotting: Streamline thickness

Overview of Mesh Types

Overview of Mesh Types

Tensor meshes

Tensor meshes

Averaging Matricies

Averaging Matricies

Differential Operators

Differential Operators

Basic Inner Products

Basic Inner Products

Constitutive Relations

Constitutive Relations

Differential Operators

Differential Operators

Advanced Examples

Advanced Examples

Gauss’ Law of Electrostatics

Gauss' Law of Electrostatics

Advection-Diffusion Equation

Advection-Diffusion Equation

Nodal Dirichlet Poisson solution

Nodal Dirichlet Poisson solution