mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: decompositionMethod : calcCellCells for locally 0 cells
This commit is contained in:
@ -398,7 +398,15 @@ void Foam::decompositionMethod::calcCellCells
|
|||||||
// Create global cell numbers
|
// Create global cell numbers
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
label nAgglom = max(agglom)+1;
|
label nAgglom;
|
||||||
|
if (agglom.size())
|
||||||
|
{
|
||||||
|
nAgglom = max(agglom)+1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
nAgglom = 0;
|
||||||
|
}
|
||||||
globalIndex globalAgglom(nAgglom);
|
globalIndex globalAgglom(nAgglom);
|
||||||
|
|
||||||
const labelList& faceOwner = mesh.faceOwner();
|
const labelList& faceOwner = mesh.faceOwner();
|
||||||
|
|||||||
Reference in New Issue
Block a user