Order Test must incorporate different meshes. Current test fails, must support 2D mass matrices.

This commit is contained in:
Rowan Cockett
2013-08-04 07:56:25 -07:00
parent 849a914738
commit e2e38074fc
4 changed files with 17 additions and 7 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ import numpy as np
from BaseMesh import BaseMesh
from DiffOperators import DiffOperators
from InnerProducts import InnerProducts
from LomView import LomView
from utils import mkvc, ndgrid, volTetra, indexCube, faceInfo
# Some helper functions.
@@ -11,7 +12,7 @@ normalize2D = lambda x: x/np.kron(np.ones((1, 2)), mkvc(length2D(x), 2))
normalize3D = lambda x: x/np.kron(np.ones((1, 3)), mkvc(length3D(x), 2))
class LogicallyOrthogonalMesh(BaseMesh, DiffOperators, InnerProducts):
class LogicallyOrthogonalMesh(BaseMesh, DiffOperators, InnerProducts, LomView):
"""
LogicallyOrthogonalMesh is a mesh class that deals with logically orthogonal meshes.