SimPEG.utils.example_curvilinear_grid#

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

Creates and returns 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.