mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
decompositionMethod.C: avoid loops in cell-cells construction
This commit is contained in:
@ -403,6 +403,7 @@ void Foam::decompositionMethod::calcCellCells
|
|||||||
forAll(cellCells, cellI)
|
forAll(cellCells, cellI)
|
||||||
{
|
{
|
||||||
nbrCells.clear();
|
nbrCells.clear();
|
||||||
|
nbrCells.insert(cellI);
|
||||||
|
|
||||||
label& endIndex = cellCells.offsets()[cellI+1];
|
label& endIndex = cellCells.offsets()[cellI+1];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user