SimPEG.fields.Fields#

class SimPEG.fields.Fields(simulation, knownFields=None, aliasFields=None, dtype=None, **kwargs)[source]#

Bases: object

Fancy Field Storage

Examples

>>> fields = Fields(
...     simulation=simulation, knownFields={"phi": "CC"}
... )
>>> fields[:,'phi'] = phi

Attributes

aliasFields

The aliased fields of this object.

approxSize

The approximate cost to storing all of the known fields.

dtype

The data type of the storage matrix

knownFields

The known fields of this object.

simulation

The simulation object that created these fields

mesh

survey

Methods

startup