ENH: correct the selfComm procNo relative to world communicator
STYLE: qualify worldComm as UPstream instead Pstream STYLE: PPCG::gSumMagProd() as static function
This commit is contained in:
@ -33,7 +33,7 @@ Note
|
||||
#include "fileName.H"
|
||||
#include "dictionary.H"
|
||||
#include "JobInfo.H"
|
||||
#include "Pstream.H"
|
||||
#include "UPstream.H"
|
||||
#include "StringStream.H"
|
||||
#include "foamVersion.H"
|
||||
#include "OSspecific.H"
|
||||
@ -44,7 +44,7 @@ Note
|
||||
bool Foam::error::master(const label communicator)
|
||||
{
|
||||
// Trap negative value for comm as 'default'. This avoids direct use
|
||||
// of Pstream::worldComm which may not have been initialised
|
||||
// of UPstream::worldComm which may have not yet been initialised
|
||||
|
||||
return
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user