mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 07:56:08 -06:00
#2483 Refactoring : Simplify generation of well branch geometry (2)
This commit is contained in:
parent
7bd0bdc612
commit
08995cf63e
@ -43,18 +43,6 @@
|
||||
void RigSimulationWellCenterLineCalculator::calculateWellPipeStaticCenterline(RimSimWellInView* rimWell,
|
||||
std::vector< std::vector <cvf::Vec3d> >& pipeBranchesCLCoords,
|
||||
std::vector< std::vector <RigWellResultPoint> >& pipeBranchesCellIds)
|
||||
{
|
||||
calculateWellPipeDynamicCenterline(rimWell, -1, pipeBranchesCLCoords, pipeBranchesCellIds);
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigSimulationWellCenterLineCalculator::calculateWellPipeDynamicCenterline(const RimSimWellInView* rimWell,
|
||||
int timeStepIndex,
|
||||
std::vector< std::vector <cvf::Vec3d> >& pipeBranchesCLCoords,
|
||||
std::vector< std::vector <RigWellResultPoint> >& pipeBranchesCellIds)
|
||||
{
|
||||
CVF_ASSERT(rimWell);
|
||||
|
||||
@ -69,6 +57,7 @@ void RigSimulationWellCenterLineCalculator::calculateWellPipeDynamicCenterline(c
|
||||
bool isAutoDetectBranches = eclipseView->wellCollection()->isAutoDetectingBranches();
|
||||
|
||||
bool useAllCellCenters = rimWell->isUsingCellCenterForPipe();
|
||||
int timeStepIndex = -1;
|
||||
|
||||
calculateWellPipeCenterlineFromWellFrame(eclipseCaseData,
|
||||
simWellData,
|
||||
|
@ -32,12 +32,6 @@ public:
|
||||
std::vector< std::vector <cvf::Vec3d> >& pipeBranchesCLCoords,
|
||||
std::vector< std::vector <RigWellResultPoint> >& pipeBranchesCellIds) ;
|
||||
|
||||
static void calculateWellPipeDynamicCenterline(const RimSimWellInView* rimWell,
|
||||
int timeStepIndex,
|
||||
std::vector< std::vector <cvf::Vec3d> >& pipeBranchesCLCoords,
|
||||
std::vector< std::vector <RigWellResultPoint> >& pipeBranchesCellIds) ;
|
||||
|
||||
|
||||
static void calculateWellPipeCenterlineFromWellFrame(const RigEclipseCaseData* eclipseCaseData,
|
||||
const RigSimWellData* simWellData,
|
||||
int timeStepIndex,
|
||||
|
Loading…
Reference in New Issue
Block a user