simpeg.electromagnetics.static.resistivity.Fields2D#
- class simpeg.electromagnetics.static.resistivity.Fields2D(simulation, knownFields=None, aliasFields=None, dtype=None)[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
ornF
,nSrcs
\(\times\)nFrequencies
)Attributes
The aliased fields of the object.
Approximate cost of storing all of the known fields in MB.
Mesh used by the simulation.
The simulation object used to compute the field solution.
Survey used by the simulation.
Methods