mirror of
https://github.com/wassname/simpeg.git
synced 2026-09-09 11:34:26 +08:00
E from J and J from E, and a test (need to choose better parameters)
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user