checkGeometry, moveDynamicMesh: Convert processor IDs to 'List<label>'

Resolves bug-report http://bugs.openfoam.org/view.php?id=2140
This commit is contained in:
Henry Weller
2016-07-09 20:47:06 +01:00
parent 4d5d61bbeb
commit cd58a79a44
4 changed files with 26 additions and 3 deletions

View File

@ -986,7 +986,7 @@ Foam::label Foam::checkGeometry
globalFaces().gather
(
UPstream::worldComm,
UPstream::procID(UPstream::worldComm),
labelList(UPstream::procID(UPstream::worldComm)),
ami.srcWeightsSum(),
mergedWeights
);
@ -1033,7 +1033,7 @@ Foam::label Foam::checkGeometry
globalFaces().gather
(
UPstream::worldComm,
UPstream::procID(UPstream::worldComm),
labelList(UPstream::procID(UPstream::worldComm)),
ami.tgtWeightsSum(),
mergedWeights
);

View File

@ -81,7 +81,7 @@ void writeWeights
globalFaces().gather
(
UPstream::worldComm,
UPstream::procID(UPstream::worldComm),
labelList(UPstream::procID(UPstream::worldComm)),
wghtSum,
mergedWeights
);