SimPEG.electromagnetics.static.resistivity.Fields2D#
- class SimPEG.electromagnetics.static.resistivity.Fields2D(simulation, knownFields=None, aliasFields=None, dtype=None, **kwargs)[source]#
Bases:
SimPEG.fields.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
The simulation object that created these fields
survey
Methods
dtype
alias of
float