E from J and J from E, and a test (need to choose better parameters)

This commit is contained in:
Lindsey Heagy
2015-12-08 19:14:28 -08:00
parent 884d27b541
commit adda7a43dc
3 changed files with 46 additions and 35 deletions
+7 -7
View File
@@ -6,17 +6,17 @@ from scipy.constants import mu_0
def getFDEMProblem(fdemType, comp, SrcList, freq, verbose=False):
cs = 10.
ncx, ncy, ncz = 6, 6, 6
npad = 5
hx = [(cs,npad,-1.3), (cs,ncx), (cs,npad,1.3)]
hy = [(cs,npad,-1.3), (cs,ncy), (cs,npad,1.3)]
hz = [(cs,npad,-1.3), (cs,ncz), (cs,npad,1.3)]
ncx, ncy, ncz = 2, 2, 2
npad = 8
hx = [(cs,npad,-1.5), (cs,ncx), (cs,npad,1.5)]
hy = [(cs,npad,-1.5), (cs,ncy), (cs,npad,1.5)]
hz = [(cs,npad,-1.5), (cs,ncz), (cs,npad,1.5)]
mesh = Mesh.TensorMesh([hx,hy,hz],['C','C','C'])
mapping = Maps.ExpMap(mesh)
x = np.array([np.linspace(-30,-15,3),np.linspace(15,30,3)]) #don't sample right by the source
XYZ = Utils.ndgrid(x,x,np.r_[0.])
x = np.array([np.linspace(-5.5*cs,-2.5*cs,4),np.linspace(3.5*cs,2.5*cs,4)]) #don't sample right by the source
XYZ = Utils.ndgrid(x,x,np.linspace(-2.25*cs,2.25*cs,5))
Rx0 = EM.FDEM.Rx(XYZ, comp)
Src = []