SimPEG.electromagnetics.static.resistivity.Fields2D#

class SimPEG.electromagnetics.static.resistivity.Fields2D(simulation, knownFields=None, aliasFields=None, dtype=None, **kwargs)[source]#

Bases: TimeFields

Fancy Field Storage for a 2.5D code.

u[:,’phi’, kyInd] = phi print(u[src0,’phi’])

Only one field type is stored for each problem, the rest are computed. The fields obejct acts like an array and is indexed by

f = problem.fields(m)
e = f[source_list,'e']
j = f[source_list,'j']

If accessing all sources for a given field, use the

f = problem.fields(m)
phi = f[:,'phi']
e = f[:,'e']
b = f[:,'b']

The array returned will be size (nE or nF, nSrcs \(\times\) nFrequencies)

Attributes

aliasFields

The aliased fields of this object.

approxSize

The approximate cost to storing all of the known fields.

simulation

The simulation object that created these fields

mesh

survey

Methods

dtype

alias of float

startup