Added global cell indices to faults and added optimalizations

This commit is contained in:
Magne Sjaastad
2013-12-09 09:52:10 +01:00
parent 5edcb1c161
commit d53e9aa9c1
4 changed files with 32 additions and 17 deletions

View File

@@ -39,13 +39,17 @@ public:
struct FaultFace
{
FaultFace(size_t globalCellIndex, cvf::StructGridInterface::FaceType face) :
m_globalCellIndex(globalCellIndex),
m_face(face)
{ }
FaultFace(size_t nativeGlobalCellIndex, cvf::StructGridInterface::FaceType nativeFace, size_t oppositeGlobalCellIndex, cvf::StructGridInterface::FaceType oppositeFace) :
m_nativeGlobalCellIndex(nativeGlobalCellIndex),
m_nativeFace(nativeFace),
m_oppositeGlobalCellIndex(oppositeGlobalCellIndex),
m_oppositeFace(oppositeFace)
{ }
size_t m_globalCellIndex;
cvf::StructGridInterface::FaceType m_face;
size_t m_nativeGlobalCellIndex;
cvf::StructGridInterface::FaceType m_nativeFace;
size_t m_oppositeGlobalCellIndex;
cvf::StructGridInterface::FaceType m_oppositeFace;
};
public: