#1544 Removed unused functions and other minor improvements

This commit is contained in:
Magne Sjaastad
2018-01-19 12:28:12 +01:00
parent ba437c605d
commit 8e5bcef7c7
4 changed files with 39 additions and 37 deletions

View File

@@ -29,15 +29,15 @@
#include "RimSimWellInViewCollection.h"
#include "RimSimWellInView.h"
#include "RivWellHeadPartMgr.h"
#include "RivSimWellPipesPartMgr.h"
#include "RivWellConnectionsPartMgr.h"
#include "RivWellHeadPartMgr.h"
#include "RivWellSpheresPartMgr.h"
#include "cafPdmFieldCvfColor.h"
#include "cafPdmFieldCvfMat4d.h"
#include "cvfTransform.h"
#include "RivWellSpheresPartMgr.h"
#include "RivWellConnectionsPartMgr.h"
//--------------------------------------------------------------------------------------------------
///
@@ -176,16 +176,3 @@ void RivReservoirSimWellsPartMgr::updatePipeResultColor(size_t frameIndex)
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
const std::vector< std::vector <cvf::Vec3d> >* RivReservoirSimWellsPartMgr::centerLineOfWellBranches(int wellIdx)
{
if (wellIdx < static_cast<int>(m_wellPipesPartMgrs.size()))
{
return &(m_wellPipesPartMgrs[wellIdx]->centerLineOfWellBranches());
}
return NULL;
}