mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: decompositionMethod: expose cellCells calculation
This commit is contained in:
@ -589,7 +589,14 @@ Foam::labelList Foam::scotchDecomp::decompose
|
||||
|
||||
// Calculate local or global (if Pstream::parRun()) connectivity
|
||||
CompactListList<label> cellCells;
|
||||
calcCellCells(mesh, identity(mesh.nCells()), mesh.nCells(), cellCells);
|
||||
calcCellCells
|
||||
(
|
||||
mesh,
|
||||
identity(mesh.nCells()),
|
||||
mesh.nCells(),
|
||||
true,
|
||||
cellCells
|
||||
);
|
||||
|
||||
// Decompose using default weights
|
||||
List<int> finalDecomp;
|
||||
@ -634,7 +641,14 @@ Foam::labelList Foam::scotchDecomp::decompose
|
||||
|
||||
// Calculate local or global (if Pstream::parRun()) connectivity
|
||||
CompactListList<label> cellCells;
|
||||
calcCellCells(mesh, agglom, agglomPoints.size(), cellCells);
|
||||
calcCellCells
|
||||
(
|
||||
mesh,
|
||||
agglom,
|
||||
agglomPoints.size(),
|
||||
true,
|
||||
cellCells
|
||||
);
|
||||
|
||||
// Decompose using weights
|
||||
List<int> finalDecomp;
|
||||
|
||||
Reference in New Issue
Block a user