SimPEG.utils.model_builder.add_block(cell_centers, model, p0, p1, prop_value)[source]#

Add a homogeneous block to an existing cell centered model

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

A mesh or its gridded cell center locations

model(n_cells) numpy.ndarray

Cell-centered model. Currently, this is only implemented for isotropic properties.

p0(dim) numpy.ndarray

Bottom southwest corner of the block

p1(dim) numpy.ndarray

Top northeast corner of the block


Physical property value assigned to the block

(n_cells) numpy.ndarray

The updated cell-centered model which includes the block

Galleries and Tutorials using SimPEG.utils.model_builder.add_block#

Maps: ComboMaps

Maps: ComboMaps