change n --> vnC in cellGradz

This commit is contained in:
rowanc1
2014-03-02 18:46:56 -08:00
parent a01ffba494
commit 802094096e
+1 -1
View File
@@ -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