mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename
This commit is contained in:
@@ -75,7 +75,7 @@ void RicNewSimWellIntersectionFeature::setupActionLook(QAction* actionToSetup)
|
||||
RicNewSimWellIntersectionCmd::RicNewSimWellIntersectionCmd(RimIntersectionCollection* intersectionCollection, RimEclipseWell* simWell)
|
||||
: CmdExecuteCommand(NULL),
|
||||
m_intersectionCollection(intersectionCollection),
|
||||
m_wellPath(simWell)
|
||||
m_simWell(simWell)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -100,12 +100,12 @@ QString RicNewSimWellIntersectionCmd::name()
|
||||
void RicNewSimWellIntersectionCmd::redo()
|
||||
{
|
||||
CVF_ASSERT(m_intersectionCollection);
|
||||
CVF_ASSERT(m_wellPath);
|
||||
CVF_ASSERT(m_simWell);
|
||||
|
||||
RimIntersection* intersection = new RimIntersection();
|
||||
intersection->name = m_wellPath->name;
|
||||
intersection->name = m_simWell->name;
|
||||
intersection->type = RimIntersection::CS_SIMULATION_WELL;
|
||||
intersection->simulationWell = m_wellPath;
|
||||
intersection->simulationWell = m_simWell;
|
||||
|
||||
m_intersectionCollection->appendIntersection(intersection);
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ public:
|
||||
|
||||
private:
|
||||
caf::PdmPointer<RimIntersectionCollection> m_intersectionCollection;
|
||||
caf::PdmPointer<RimEclipseWell> m_wellPath;
|
||||
caf::PdmPointer<RimEclipseWell> m_simWell;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user