BUG: syncTools: incorrect communicator. See #1986

This commit is contained in:
mattijs
2021-01-25 18:06:28 +00:00
parent 0e7a2d1529
commit d770ce7aa8
3 changed files with 6 additions and 5 deletions

View File

@ -6,7 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2013 OpenFOAM Foundation Copyright (C) 2011-2013 OpenFOAM Foundation
Copyright (C) 2017-2019 OpenCFD Ltd. Copyright (C) 2017-2019,2021 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -145,7 +145,7 @@ public:
char* buf, char* buf,
const std::streamsize bufSize, const std::streamsize bufSize,
const int tag = UPstream::msgType(), const int tag = UPstream::msgType(),
const label communicator = 0 const label communicator = UPstream::worldComm
); );
//- Return next token from stream //- Return next token from stream

View File

@ -6,7 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2014 OpenFOAM Foundation Copyright (C) 2011-2014 OpenFOAM Foundation
Copyright (C) 2017-2018 OpenCFD Ltd. Copyright (C) 2017-2018,2021 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -146,7 +146,7 @@ public:
const char* buf, const char* buf,
const std::streamsize bufSize, const std::streamsize bufSize,
const int tag = UPstream::msgType(), const int tag = UPstream::msgType(),
const label communicator = 0 const label communicator = UPstream::worldComm
); );
//- Write token to stream or otherwise handle it. //- Write token to stream or otherwise handle it.

View File

@ -6,7 +6,7 @@
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
Copyright (C) 2011-2016, 2020 OpenFOAM Foundation Copyright (C) 2011-2016, 2020 OpenFOAM Foundation
Copyright (C) 2018-2020 OpenCFD Ltd. Copyright (C) 2018-2021 OpenCFD Ltd.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
This file is part of OpenFOAM. This file is part of OpenFOAM.
@ -118,6 +118,7 @@ Foam::labelList Foam::polyMesh::facePatchFaceCells
{ {
FatalErrorInFunction FatalErrorInFunction
<< "face " << fI << " in patch " << patchID << "face " << fI << " in patch " << patchID
<< " vertices " << UIndirectList<point>(points(), curFace)
<< " does not have neighbour cell" << " does not have neighbour cell"
<< " face: " << patchFaces[fI] << " face: " << patchFaces[fI]
<< abort(FatalError); << abort(FatalError);