Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
1f49dfe0
Commit
1f49dfe0
authored
Oct 18, 2019
by
mattijs
Committed by
Andrew Heather
Oct 18, 2019
Browse files
STYLE: meshToMesh: typo, cached version.
parent
64ceecc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/meshTools/processorLOD/box/box.C
View file @
1f49dfe0
...
...
@@ -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 fo
t
tgt elements inside
// List of local tgt elems to optimise searching fo
r
tgt elements inside
// remote src boxes
List
<
List
<
labelList
>>
localTgtElems
(
Pstream
::
nProcs
());
...
...
src/sampling/meshToMesh/meshToMeshParallelOps.C
View file @
1f49dfe0
...
...
@@ -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
(),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment