SimPEG.maps.InjectActiveCells.test#

InjectActiveCells.test(m=None, num=4, **kwargs)[source]#

Derivative test for the mapping.

This test validates the mapping by performing a convergence test.

Parameters
m(nP) numpy.ndarray

Starting vector of model parameters for the derivative test

numint

Number of iterations for the derivative test

kwargs: dict

Keyword arguments and associated values in the dictionary must match those used in discretize.tests.check_derivative()

Returns
bool

Returns True if the test passes