#1724 Removed unused code

This commit is contained in:
Magne Sjaastad
2017-08-04 10:21:07 +02:00
parent e35bcf1f58
commit 1adba2caf7
8 changed files with 0 additions and 68 deletions

View File

@@ -360,25 +360,3 @@ void RivSimWellPipesPartMgr::updatePipeResultColor(size_t frameIndex)
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RivSimWellPipesPartMgr::findGridIndexAndCellIndex(size_t branchIndex, size_t triangleIndex, size_t* gridIndex, size_t* cellIndex)
{
CVF_ASSERT(branchIndex < m_wellBranches.size());
RivPipeBranchData* branchData = pipeBranchData(branchIndex);
if (branchData)
{
size_t resultIndex = branchData->m_pipeGeomGenerator->pipeSegmentIndexFromTriangleIndex(triangleIndex);
*gridIndex = branchData->m_cellIds[resultIndex].m_gridIndex;
*cellIndex = branchData->m_cellIds[resultIndex].m_gridCellIndex;
}
else
{
*gridIndex = cvf::UNDEFINED_SIZE_T;
*cellIndex = cvf::UNDEFINED_SIZE_T;
}
}