FEM -> FDEM in tests for analytics

This commit is contained in:
Lindsey Heagy
2014-10-08 15:41:38 -07:00
parent 682a8e3877
commit 3846a6303b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ def hzAnalyticDipoleF(r, freq, sigma, secondary=True):
"""
r = np.abs(r)
k = np.sqrt(-1j*2.*np.pi*f*mu_0*sigma)
k = np.sqrt(-1j*2.*np.pi*freq*mu_0*sigma)
m = 1
front = m / (2. * np.pi * (k**2) * (r**5) )
+1 -1
View File
@@ -58,7 +58,7 @@ class FDEM_analyticTests(unittest.TestCase):
P = self.mesh.getInterpolationMat(XYZ, 'Fz')
an = EM.Analytics.FEM.hzAnalyticDipoleF(x, self.Tx0.freq, self.sig)
an = EM.Analytics.FDEM.hzAnalyticDipoleF(x, self.Tx0.freq, self.sig)
diff = np.log10(np.abs(P*np.imag(u[self.Tx0, 'b']) - mu_0*np.imag(an)))