Initial work on bringing mag into simpeg framework

This commit is contained in:
rowanc1
2014-02-23 13:18:02 -08:00
parent 53146016ff
commit 3b97872601
4 changed files with 103 additions and 9 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ def CongruousMagBC(mesh, Bo, chi):
ind = chi > 0.
V = mesh.vol[ind].sum()
gamma = 1/V*(chi*mesh.vol).sum()
gamma = 1/V*(chi*mesh.vol).sum() # like a mass!
Bot = np.sqrt(sum(Bo**2))
mx = Bo[0]/Bot