mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-03 13:10:16 +08:00
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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user