mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: meshToMeshMethod: small optimisation in treeBoundBox calc
This commit is contained in:
@ -396,10 +396,7 @@ Foam::labelList Foam::tetOverlapVolume::overlappingCells
|
||||
{
|
||||
const indexedOctree<treeDataCell>& treeA = fromMesh.cellTree();
|
||||
|
||||
treeBoundBox bbB
|
||||
(
|
||||
pointField(toMesh.points(), toMesh.cellPoints()[iTo])
|
||||
);
|
||||
treeBoundBox bbB(toMesh.points(), toMesh.cellPoints()[iTo]);
|
||||
|
||||
return treeA.findBox(bbB);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user