SimPEG.maps.ParametricBlock#
- class SimPEG.maps.ParametricBlock(mesh, epsilon=1e-06, p=10, **kwargs)[source]#
Bases:
SimPEG.maps.BaseParametric
Mapping for a rectangular block within a wholespace.
This mapping is used when the cells lying below the Earth’s surface can be parameterized by rectangular block within a homogeneous medium. The model is defined by the physical property value for the background (
), the physical property value for the block ( ), parameters for the center of the block ( ) and parameters for the dimensions along each Cartesian direction ( )For this mapping, the set of input model parameters are organized:
The mapping
from the model to the mesh is given by:where a is a parameter that impacts the sharpness of the arctan function, and
Parameters
and define the parameters of the Ekblom function. is a place holder for vectors containing the x, [y and z] cell center locations of the mesh, is a placeholder for the x[, y and z] location for the center of the block, and is a placeholder for the x[, y and z] dimensions of the block.- Parameters
- mesh
discretize.BaseMesh
A discretize mesh
- indActive
numpy.ndarray
Active cells array. Can be a boolean
numpy.ndarray
of length mesh.nC or anumpy.ndarray
ofint
containing the indices of the active cells.- slope
float
Directly define the constant a in the mapping function which defines the sharpness of the boundaries.
- slopeFact
float
Scaling factor for the sharpness of the boundaries based on cell size. Using this option, we set a = slopeFact / dh.
- epsilon
float
Epsilon value used in the ekblom representation of the block
- p
float
p-value used in the ekblom representation of the block.
- mesh
Examples
Attributes
epsilon value used in the ekblom representation of the block.
Number of parameters the mapping acts on.
p-value used in the ekblom representation of the block.
Dimensions of the mapping
Methods
deriv
(m)Derivative of the mapping with respect to the input parameters.
mDict
(m)Return model parameters as a dictionary.