mirror of
https://github.com/wassname/simpeg.git
synced 2026-09-09 11:34:26 +08:00
bug fix.
This commit is contained in:
@@ -147,8 +147,8 @@ class InnerProducts(object):
|
|||||||
V1 = sdiag(v) # We will multiply on each side to keep symmetry
|
V1 = sdiag(v) # We will multiply on each side to keep symmetry
|
||||||
|
|
||||||
Px = _getFacePx(M)
|
Px = _getFacePx(M)
|
||||||
P000 = V2*Px('fXm')
|
P000 = V1*Px('fXm')
|
||||||
P100 = V2*Px('fXp')
|
P100 = V1*Px('fXp')
|
||||||
elif M.dim == 2:
|
elif M.dim == 2:
|
||||||
# Square root of cell volume multiplied by 1/4
|
# Square root of cell volume multiplied by 1/4
|
||||||
v = np.sqrt(0.25*M.vol)
|
v = np.sqrt(0.25*M.vol)
|
||||||
|
|||||||
Reference in New Issue
Block a user