EdgeInnerProducts now working for LOM

Fixed DiffOps bug in CURL

Fixed bug in OrderTest --> must remember to do cumSum, and not just supply dx to ndgrid

test_massMatrices now tests uniformLOM
This commit is contained in:
Rowan Cockett
2013-08-03 16:39:34 -07:00
parent cc66eaf9fd
commit 26b334585f
5 changed files with 57 additions and 8 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ class OrderTest(unittest.TestCase):
elif 'LOM' in self.meshType:
if 'uniform' in self.meshType:
xx = np.ones(nc)/nc
X, Y, Z = utils.ndgrid(xx, xx, xx, vector=False)
xx = np.cumsum(np.r_[0, np.ones(nc)/nc])
X, Y, Z = utils.ndgrid([xx, xx, xx], vector=False)
else:
raise Exception('Unexpected meshType')
self.M = LogicallyOrthogonalMesh([X, Y, Z])