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 ( - nEor- nF,- nSrcs\(\times\)- nFrequencies)- Attributes - The aliased fields of this object. - The approximate cost to storing all of the known fields. - The simulation object that created these fields - mesh - survey - Methods - dtype- alias of - float- startup