SimPEG.meta.RepeatedSimulation#

class SimPEG.meta.RepeatedSimulation(simulation, mappings)[source]#

Bases: SimPEG.meta.simulation.MetaSimulation

A MetaSimulation where a single simulation is used repeatedly.

This is most useful for linear simulations where a sensitivity matrix can be reused with different models. For non-linear simulations it will often be quicker to use the MetaSimulation class with multiple copies of the same simulation.

Parameters
simulationSimPEG.simulation.BaseSimulation
mappings(n_sim) list of SimPEG.maps.IdentityMap

Attributes

simulation

The internal simulation.

simulations

The list of simulations.