mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1037 - pre-proto - added classes RimSimWellFracture and RimSimWellFractureCollection, and functions for creating new / deleting.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
#include "RimIntersectionCollection.h"
|
||||
#include "RimEclipseView.h"
|
||||
#include "RimEclipseWellCollection.h"
|
||||
#include "RimFractureCollection.h"
|
||||
#include "RimSimWellFractureCollection.h"
|
||||
|
||||
#include "cvfMath.h"
|
||||
|
||||
@@ -49,17 +49,17 @@ RimEclipseWell::RimEclipseWell()
|
||||
|
||||
CAF_PDM_InitField(&showWellCells, "ShowWellCells", true, "Add cells to range filter", "", "", "");
|
||||
CAF_PDM_InitField(&showWellCellFence, "ShowWellCellFence", false, "Use well fence", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&fractureCollection, "FractureCollection", "Fractures", "", "", "");
|
||||
CAF_PDM_InitFieldNoDefault(&simwellFractureCollection, "FractureCollection", "Fractures", "", "", "");
|
||||
|
||||
name.uiCapability()->setUiHidden(true);
|
||||
name.uiCapability()->setUiReadOnly(true);
|
||||
fractureCollection.uiCapability()->setUiHidden(true);
|
||||
simwellFractureCollection.uiCapability()->setUiHidden(true);
|
||||
|
||||
m_resultWellIndex = cvf::UNDEFINED_SIZE_T;
|
||||
|
||||
m_reservoirView = NULL;
|
||||
|
||||
fractureCollection = new RimFractureCollection();
|
||||
simwellFractureCollection= new RimSimWellFractureCollection();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -67,7 +67,7 @@ RimEclipseWell::RimEclipseWell()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimEclipseWell::~RimEclipseWell()
|
||||
{
|
||||
if (fractureCollection()) delete fractureCollection();
|
||||
if (simwellFractureCollection()) delete simwellFractureCollection();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user