mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-04 13:16:56 -06:00
Rename
This commit is contained in:
1 parent
22143969c1
commit
00a4157385
2 files changed
+5
-5
No files matched your search
@@ -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