SimPEG.utils.model_builder.create_2_layer_model#

SimPEG.utils.model_builder.create_2_layer_model(cell_centers, depth, top_value=1.0, bottom_value=0.0)[source]#

Create a basic two layered model

This function creates a physical property model consisting of 2 layers.

Parameters:
cell_centers(n_cells, dim) numpy.ndarray or discretize.base.BaseMesh

A mesh or its gridded cell center locations

depthfloat

Depth defining the interface between layer 1 and layer 2

top_valuefloat, optional

Physical property value for the top layer

bottom_valuefloat, optional

Physical property value for the bottom layer

Returns:
(n_cells) numpy.ndarray

Cell-centered physical property model