mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
Refactor: improve interface for finding intersecting cells.
This commit is contained in:
1 parent
ffa117e736
commit
544e6974e7
29 files changed
+75
-105
No files matched your search
@@ -159,8 +159,7 @@ void RigCaseToCaseCellMapper::calculateEclToGeomCellMapping( RigMainGrid* master
|
||||
for ( int i = 0; i < 8; ++i )
|
||||
elmBBox.add( geoMechConvertedEclCell[i] );
|
||||
|
||||
std::vector<size_t> closeElements;
|
||||
dependentFemPart->findIntersectingElementIndices( elmBBox, &closeElements );
|
||||
std::vector<size_t> closeElements = dependentFemPart->findIntersectingElementIndices( elmBBox );
|
||||
|
||||
for ( size_t ccIdx = 0; ccIdx < closeElements.size(); ++ccIdx )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user