mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6596 Rename from FractureModel to StimPlanModel.
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
|
||||
#include "RimCompletionTemplateCollection.h"
|
||||
|
||||
#include "RimFractureModelTemplateCollection.h"
|
||||
#include "RimFractureTemplateCollection.h"
|
||||
#include "RimStimPlanModelTemplateCollection.h"
|
||||
#include "RimValveTemplateCollection.h"
|
||||
|
||||
#include "cafPdmUiTreeOrdering.h"
|
||||
@@ -39,8 +39,8 @@ RimCompletionTemplateCollection::RimCompletionTemplateCollection()
|
||||
m_fractureTemplates = new RimFractureTemplateCollection;
|
||||
m_fractureTemplates->addDefaultEllipseTemplate();
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureModelTemplates, "FractureModelTemplates", "", "", "", "" );
|
||||
m_fractureModelTemplates = new RimFractureModelTemplateCollection;
|
||||
CAF_PDM_InitFieldNoDefault( &m_stimPlanModelTemplates, "StimPlanModelTemplates", "", "", "", "" );
|
||||
m_stimPlanModelTemplates = new RimStimPlanModelTemplateCollection;
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_valveTemplates, "ValveTemplates", "", "", "", "" );
|
||||
m_valveTemplates = new RimValveTemplateCollection;
|
||||
@@ -106,17 +106,17 @@ void RimCompletionTemplateCollection::setFractureTemplateCollection( RimFracture
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFractureModelTemplateCollection* RimCompletionTemplateCollection::fractureModelTemplateCollection()
|
||||
RimStimPlanModelTemplateCollection* RimCompletionTemplateCollection::stimPlanModelTemplateCollection()
|
||||
{
|
||||
return m_fractureModelTemplates;
|
||||
return m_stimPlanModelTemplates;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
const RimFractureModelTemplateCollection* RimCompletionTemplateCollection::fractureModelTemplateCollection() const
|
||||
const RimStimPlanModelTemplateCollection* RimCompletionTemplateCollection::stimPlanModelTemplateCollection() const
|
||||
{
|
||||
return m_fractureModelTemplates;
|
||||
return m_stimPlanModelTemplates;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -126,7 +126,7 @@ void RimCompletionTemplateCollection::defineUiTreeOrdering( caf::PdmUiTreeOrderi
|
||||
QString uiConfigName /*= ""*/ )
|
||||
{
|
||||
uiTreeOrdering.add( m_fractureTemplates );
|
||||
uiTreeOrdering.add( m_fractureModelTemplates );
|
||||
uiTreeOrdering.add( m_stimPlanModelTemplates );
|
||||
uiTreeOrdering.add( m_valveTemplates );
|
||||
uiTreeOrdering.skipRemainingChildren( true );
|
||||
}
|
||||
@@ -137,5 +137,5 @@ void RimCompletionTemplateCollection::defineUiTreeOrdering( caf::PdmUiTreeOrderi
|
||||
void RimCompletionTemplateCollection::loadAndUpdateData()
|
||||
{
|
||||
m_fractureTemplates->loadAndUpdateData();
|
||||
m_fractureModelTemplates->loadAndUpdateData();
|
||||
m_stimPlanModelTemplates->loadAndUpdateData();
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
class RimOilField;
|
||||
class RimValveTemplateCollection;
|
||||
class RimFractureTemplateCollection;
|
||||
class RimFractureModelTemplateCollection;
|
||||
class RimStimPlanModelTemplateCollection;
|
||||
|
||||
class RimCompletionTemplateCollection : public caf::PdmObject
|
||||
{
|
||||
@@ -36,8 +36,8 @@ public:
|
||||
|
||||
RimFractureTemplateCollection* fractureTemplateCollection();
|
||||
const RimFractureTemplateCollection* fractureTemplateCollection() const;
|
||||
RimFractureModelTemplateCollection* fractureModelTemplateCollection();
|
||||
const RimFractureModelTemplateCollection* fractureModelTemplateCollection() const;
|
||||
RimStimPlanModelTemplateCollection* stimPlanModelTemplateCollection();
|
||||
const RimStimPlanModelTemplateCollection* stimPlanModelTemplateCollection() const;
|
||||
RimValveTemplateCollection* valveTemplateCollection();
|
||||
const RimValveTemplateCollection* valveTemplateCollection() const;
|
||||
void setDefaultUnitSystemBasedOnLoadedCases();
|
||||
@@ -50,7 +50,7 @@ private:
|
||||
|
||||
caf::PdmChildField<RimFractureTemplateCollection*> m_fractureTemplates;
|
||||
caf::PdmChildField<RimValveTemplateCollection*> m_valveTemplates;
|
||||
caf::PdmChildField<RimFractureModelTemplateCollection*> m_fractureModelTemplates;
|
||||
caf::PdmChildField<RimStimPlanModelTemplateCollection*> m_stimPlanModelTemplates;
|
||||
|
||||
protected:
|
||||
void defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTreeOrdering, QString uiConfigName = "" ) override;
|
||||
|
||||
@@ -23,10 +23,10 @@
|
||||
#include "RimFishboneWellPathCollection.h"
|
||||
#include "RimFishbonesCollection.h"
|
||||
#include "RimFishbonesMultipleSubs.h"
|
||||
#include "RimFractureModel.h"
|
||||
#include "RimFractureModelCollection.h"
|
||||
#include "RimPerforationCollection.h"
|
||||
#include "RimPerforationInterval.h"
|
||||
#include "RimStimPlanModel.h"
|
||||
#include "RimStimPlanModelCollection.h"
|
||||
#include "RimWellPathComponentInterface.h"
|
||||
#include "RimWellPathFracture.h"
|
||||
#include "RimWellPathFractureCollection.h"
|
||||
@@ -112,9 +112,9 @@ RimWellPathCompletions::RimWellPathCompletions()
|
||||
m_fractureCollection = new RimWellPathFractureCollection;
|
||||
m_fractureCollection.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitFieldNoDefault( &m_fractureModelCollection, "FractureModels", "Fracture Models", "", "", "" );
|
||||
m_fractureModelCollection = new RimFractureModelCollection;
|
||||
m_fractureModelCollection.uiCapability()->setUiHidden( true );
|
||||
CAF_PDM_InitFieldNoDefault( &m_stimPlanModelCollection, "StimPlanModels", "StimPlan Models", "", "", "" );
|
||||
m_stimPlanModelCollection = new RimStimPlanModelCollection;
|
||||
m_stimPlanModelCollection.uiCapability()->setUiHidden( true );
|
||||
|
||||
CAF_PDM_InitField( &m_wellNameForExport, "WellNameForExport", QString(), "Well Name", "", "", "" );
|
||||
m_wellNameForExport.uiCapability()->setUiEditorTypeName( caf::PdmUiLineEditor::uiEditorTypeName() );
|
||||
@@ -233,11 +233,11 @@ RimWellPathFractureCollection* RimWellPathCompletions::fractureCollection() cons
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFractureModelCollection* RimWellPathCompletions::fractureModelCollection() const
|
||||
RimStimPlanModelCollection* RimWellPathCompletions::stimPlanModelCollection() const
|
||||
{
|
||||
CVF_ASSERT( m_fractureModelCollection );
|
||||
CVF_ASSERT( m_stimPlanModelCollection );
|
||||
|
||||
return m_fractureModelCollection;
|
||||
return m_stimPlanModelCollection;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -284,7 +284,7 @@ std::vector<const RimWellPathComponentInterface*> RimWellPathCompletions::allCom
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellPathCompletions::hasCompletions() const
|
||||
{
|
||||
if ( !fractureCollection()->allFractures().empty() || !fractureModelCollection()->allFractureModels().empty() )
|
||||
if ( !fractureCollection()->allFractures().empty() || !stimPlanModelCollection()->allStimPlanModels().empty() )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -411,9 +411,9 @@ void RimWellPathCompletions::defineUiTreeOrdering( caf::PdmUiTreeOrdering& uiTre
|
||||
uiTreeOrdering.add( &m_fractureCollection );
|
||||
}
|
||||
|
||||
if ( !fractureModelCollection()->allFractureModels().empty() )
|
||||
if ( !stimPlanModelCollection()->allStimPlanModels().empty() )
|
||||
{
|
||||
uiTreeOrdering.add( &m_fractureModelCollection );
|
||||
uiTreeOrdering.add( &m_stimPlanModelCollection );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ class RimPerforationCollection;
|
||||
class RimWellPathFractureCollection;
|
||||
class RimWellPathComponentInterface;
|
||||
class RimWellPathValve;
|
||||
class RimFractureModelCollection;
|
||||
class RimStimPlanModelCollection;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
RimFishbonesCollection* fishbonesCollection() const;
|
||||
RimPerforationCollection* perforationCollection() const;
|
||||
RimWellPathFractureCollection* fractureCollection() const;
|
||||
RimFractureModelCollection* fractureModelCollection() const;
|
||||
RimStimPlanModelCollection* stimPlanModelCollection() const;
|
||||
std::vector<RimWellPathValve*> valves() const;
|
||||
|
||||
std::vector<const RimWellPathComponentInterface*> allCompletions() const;
|
||||
@@ -114,7 +114,7 @@ private:
|
||||
caf::PdmChildField<RimFishbonesCollection*> m_fishbonesCollection;
|
||||
caf::PdmChildField<RimPerforationCollection*> m_perforationCollection;
|
||||
caf::PdmChildField<RimWellPathFractureCollection*> m_fractureCollection;
|
||||
caf::PdmChildField<RimFractureModelCollection*> m_fractureModelCollection;
|
||||
caf::PdmChildField<RimStimPlanModelCollection*> m_stimPlanModelCollection;
|
||||
|
||||
caf::PdmField<QString> m_wellNameForExport;
|
||||
caf::PdmField<QString> m_wellGroupName;
|
||||
|
||||
Reference in New Issue
Block a user