ENH: mpi: use per-application communicator.

This commit is contained in:
mattijs
2020-12-08 13:57:42 +00:00
committed by Andrew Heather
parent 627d79dba6
commit 89f2cda3ab
42 changed files with 4245 additions and 597 deletions

View File

@ -556,9 +556,11 @@ void Foam::meshToMesh::calculate(const word& methodName, const bool normalise)
map.subMap(),
false,
tgtToSrcCellAddr_,
labelList(),
ListOps::appendEqOp<label>(),
flipOp(),
labelList()
UPstream::msgType(),
map.comm()
);
// Set up as a reverse distribute
@ -572,9 +574,11 @@ void Foam::meshToMesh::calculate(const word& methodName, const bool normalise)
map.subMap(),
false,
tgtToSrcCellWght_,
scalarList(),
ListOps::appendEqOp<scalar>(),
flipOp(),
scalarList()
UPstream::msgType(),
map.comm()
);
// weights normalisation