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
|
// Store elements to send - will be used to build the mapDistribute
|
||||||
List<labelHashSet> fixedSendElems(Pstream::nProcs());
|
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
|
// remote src boxes
|
||||||
List<List<labelList>> localTgtElems(Pstream::nProcs());
|
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
|
// Create processor map of overlapping faces. This map gets
|
||||||
// (possibly remote) cells from the tgt mesh such that they
|
// (possibly remote) cells from the tgt mesh such that they
|
||||||
// (together) cover all of the src mesh
|
// (together) cover all of the src mesh
|
||||||
label nGlobalSrcCells =
|
const label nGlobalSrcCells = src.globalData().nTotalCells();
|
||||||
returnReduce(src.cells().size(), sumOp<label>());
|
const label cellsPerBox = max(1, 0.001*nGlobalSrcCells);
|
||||||
label cellsPerBox = max(1, 0.001*nGlobalSrcCells);
|
|
||||||
typename processorLODs::cellBox boxLOD
|
typename processorLODs::cellBox boxLOD
|
||||||
(
|
(
|
||||||
src.cells(),
|
src.cells(),
|
||||||
|
|||||||
Reference in New Issue
Block a user