mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: meshToMesh: typo, cached version.
This commit is contained in:
@ -430,7 +430,7 @@ Foam::autoPtr<Foam::mapDistribute> Foam::processorLODs::box::createMap
|
||||
// Store elements to send - will be used to build the mapDistribute
|
||||
List<labelHashSet> fixedSendElems(Pstream::nProcs());
|
||||
|
||||
// List of local tgt elems to optimise searching fot tgt elements inside
|
||||
// List of local tgt elems to optimise searching for tgt elements inside
|
||||
// remote src boxes
|
||||
List<List<labelList>> localTgtElems(Pstream::nProcs());
|
||||
|
||||
|
||||
@ -131,9 +131,8 @@ Foam::autoPtr<Foam::mapDistribute> Foam::meshToMesh::calcProcMap
|
||||
// Create processor map of overlapping faces. This map gets
|
||||
// (possibly remote) cells from the tgt mesh such that they
|
||||
// (together) cover all of the src mesh
|
||||
label nGlobalSrcCells =
|
||||
returnReduce(src.cells().size(), sumOp<label>());
|
||||
label cellsPerBox = max(1, 0.001*nGlobalSrcCells);
|
||||
const label nGlobalSrcCells = src.globalData().nTotalCells();
|
||||
const label cellsPerBox = max(1, 0.001*nGlobalSrcCells);
|
||||
typename processorLODs::cellBox boxLOD
|
||||
(
|
||||
src.cells(),
|
||||
|
||||
Reference in New Issue
Block a user