#273 Undefined grid faults between cells where one or both are inactive is now sorted into a seaparate predefined fault section.

This commit is contained in:
Jacob Støren
2016-08-22 13:24:46 +02:00
parent 37099929d6
commit cf93a67b5e
6 changed files with 55 additions and 12 deletions

View File

@@ -30,11 +30,14 @@
#include <QtGlobal>
#include "RigNNCData.h"
class RigActiveCellInfo;
namespace cvf
{
class BoundingBoxTree;
}
class RigMainGrid : public RigGridBase
{
public:
@@ -57,7 +60,7 @@ public:
RigNNCData* nncData();
void setFaults(const cvf::Collection<RigFault>& faults);
const cvf::Collection<RigFault>& faults() { return m_faults; }
void calculateFaults();
void calculateFaults(const RigActiveCellInfo* activeCellInfo);
const RigFault* findFaultFromCellIndexAndCellFace(size_t reservoirCellIndex, cvf::StructGridInterface::FaceType face) const;
bool isFaceNormalsOutwards() const;