mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-16 11:28:21 +08:00
Updates
This commit is contained in:
@@ -8,11 +8,11 @@ class MagFwdProblemTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
||||
hxind = ((5,25,1.3),(41, 12.5),(5,25,1.3))
|
||||
hyind = ((5,25,1.3),(41, 12.5),(5,25,1.3))
|
||||
hzind = ((5,25,1.3),(40, 12.5),(5,25,1.3))
|
||||
hx, hy, hz = Utils.meshTensors(hxind, hyind, hzind)
|
||||
M = Mesh.TensorMesh([hx, hy, hz], [-hx.sum()/2,-hy.sum()/2,-hz.sum()/2])
|
||||
cs = 25.
|
||||
hxind = [(cs,5,-1.3), (cs/2.0, 41),(cs,5,1.3)]
|
||||
hyind = [(cs,5,-1.3), (cs/2.0, 41),(cs,5,1.3)]
|
||||
hzind = [(cs,5,-1.3), (cs/2.0, 40),(cs,5,1.3)]
|
||||
M = Mesh.TensorMesh([hxind, hyind, hzind], 'CCC')
|
||||
|
||||
chibkg = 0.
|
||||
chiblk = 0.01
|
||||
|
||||
@@ -9,12 +9,11 @@ from scipy.constants import mu_0
|
||||
class MagSensProblemTests(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
||||
hxind = ((5,25,1.3),(21, 25.),(5,25,1.3))
|
||||
hyind = ((5,25,1.3),(21, 25.),(5,25,1.3))
|
||||
hzind = ((5,25,1.3),(20, 25.),(5,25,1.3))
|
||||
hx, hy, hz = Utils.meshTensors(hxind, hyind, hzind)
|
||||
M = Mesh.TensorMesh([hx, hy, hz], [-hx.sum()/2,-hy.sum()/2,-hz.sum()/2])
|
||||
cs = 25.
|
||||
hxind = [(cs,5,-1.3), (cs, 21),(cs,5,1.3)]
|
||||
hyind = [(cs,5,-1.3), (cs, 21),(cs,5,1.3)]
|
||||
hzind = [(cs,5,-1.3), (cs, 20),(cs,5,1.3)]
|
||||
M = Mesh.TensorMesh([hxind, hyind, hzind], 'CCC')
|
||||
chibkg = 0.001
|
||||
chiblk = 0.01
|
||||
chi = np.ones(M.nC)*chibkg
|
||||
|
||||
Reference in New Issue
Block a user