mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-30 03:30:36 +08:00
change n --> vnC in cellGradz
This commit is contained in:
@@ -407,7 +407,7 @@ class DiffOperators(object):
|
||||
if self.dim < 3: return None
|
||||
if getattr(self, '_cellGradz', None) is None:
|
||||
BC = ['neumann', 'neumann']
|
||||
n = self.n
|
||||
n = self.vnC
|
||||
G3 = kron3(ddxCellGrad(n[2], BC), speye(n[1]), speye(n[0]))
|
||||
# Compute areas of cell faces & volumes
|
||||
V = self.aveCC2F*self.vol
|
||||
|
||||
Reference in New Issue
Block a user