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 deprecated.

readUBC(file_name[, directory])

readUBC has been deprecated and replaced by read_UBC

readVTK(file_name[, directory])

readVTK has been deprecated and replaced by read_vtk

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.

read_vtk(file_name[, directory])

Read VTK rectilinear file (vtr or xml) and return a discretize tensor mesh (and models)

vtk_to_tensor_mesh(vtrGrid)

Convert vtkRectilinearGrid or RectilinearGrid object to a TensorMesh object.

writeModelUBC(*args, **kwargs)

writeModelUBC has been deprecated.

writeUBC(*args, **kwargs)

writeUBC has been deprecated.

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

Operators: Cahn Hilliard
Basic Forward 2D DC Resistivity

Basic Forward 2D DC Resistivity

Basic Forward 2D DC Resistivity
Basic: PlotImage

Basic: PlotImage

Basic: PlotImage
Plotting: Streamline thickness

Plotting: Streamline thickness

Plotting: Streamline thickness
Overview of Mesh Types

Overview of Mesh Types

Overview of Mesh Types
Tensor meshes

Tensor meshes

Tensor meshes
Averaging Matricies

Averaging Matricies

Averaging Matricies
Differential Operators

Differential Operators

Differential Operators
Basic Inner Products

Basic Inner Products

Basic Inner Products
Constitutive Relations

Constitutive Relations

Constitutive Relations
Differential Operators

Differential Operators

Differential Operators
Advanced Examples

Advanced Examples

Advanced Examples
Gauss' Law of Electrostatics

Gauss’ Law of Electrostatics

Gauss' Law of Electrostatics
Advection-Diffusion Equation

Advection-Diffusion Equation

Advection-Diffusion Equation