discretize.utils.example_curvilinear_grid#

discretize.utils.example_curvilinear_grid(nC, exType)[source]#

Create the gridded node locations for a curvilinear mesh.

Parameters:
nClist of int

list of number of cells in each dimension. Must be length 2 or 3

exType{“rect”, “rotate”, “sphere”}

String specifying the style of example curvilinear mesh.

Returns:
list of numpy.ndarray

List containing the gridded x, y (and z) node locations for the curvilinear mesh.

Galleries and Tutorials using discretize.utils.example_curvilinear_grid#

Basic Forward 2D DC Resistivity

Basic Forward 2D DC Resistivity

Overview of Mesh Types

Overview of Mesh Types