mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: improve interface for finding intersecting cells.
This commit is contained in:
@@ -1025,13 +1025,12 @@ void RigGeoMechWellLogExtractor::calculateIntersection()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<size_t> RigGeoMechWellLogExtractor::findCloseCells( const cvf::BoundingBox& bb )
|
||||
{
|
||||
std::vector<size_t> closeCells;
|
||||
|
||||
if ( m_caseData->femParts()->partCount() )
|
||||
{
|
||||
m_caseData->femParts()->part( m_partId )->findIntersectingElementIndices( bb, &closeCells );
|
||||
return m_caseData->femParts()->part( m_partId )->findIntersectingElementIndices( bb );
|
||||
}
|
||||
return closeCells;
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user