mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Added global cell indices to faults and added optimalizations
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user