From 802094096ec536a69e10b151a9e950d516cf7fc7 Mon Sep 17 00:00:00 2001 From: rowanc1 Date: Sun, 2 Mar 2014 18:46:56 -0800 Subject: [PATCH] change n --> vnC in cellGradz --- SimPEG/Mesh/DiffOperators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimPEG/Mesh/DiffOperators.py b/SimPEG/Mesh/DiffOperators.py index 05c79b73..a7a7b0cb 100644 --- a/SimPEG/Mesh/DiffOperators.py +++ b/SimPEG/Mesh/DiffOperators.py @@ -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