Refactored and cleaned up code.

This commit is contained in:
Rowan Cockett
2013-07-26 13:56:05 -07:00
parent 4186d9b5d0
commit 90bf6d3139
2 changed files with 51 additions and 149 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class TestEdgeInnerProduct(OrderTest):
Ey = call(ey, self.M.gridEy)
Ez = call(ez, self.M.gridEz)
E = np.matrix(mkvc(np.r_[Ex, Ey, Ez], 2))
E = np.matrix(np.r_[Ex, Ey, Ez]).T
Gc = self.M.gridCC
sigma = np.c_[call(sigma1, Gc), call(sigma2, Gc), call(sigma3, Gc),
call(sigma4, Gc), call(sigma5, Gc), call(sigma6, Gc)]