UPstream.C File Reference
Include dependency graph for UPstream.C:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define PrintControl(Ctrl, Name)
 

Functions

 defineTypeNameAndDebug (UPstream, 0)
 
 registerOptSwitch ("nodeComms", int, Foam::UPstream::nodeCommsControl_)
 
 registerOptSwitch ("nodeComms.min", int, Foam::UPstream::nodeCommsMin_)
 
 registerOptSwitch ("topoControl", int, Foam::UPstream::topologyControl_)
 
 registerOptSwitch ("floatTransfer", bool, Foam::UPstream::floatTransfer)
 
 registerOptSwitch ("nProcsSimpleSum", int, Foam::UPstream::nProcsSimpleSum)
 
 registerOptSwitch ("nbx.min", int, Foam::UPstream::nProcsNonblockingExchange)
 
 registerOptSwitch ("nbx.tuning", int, Foam::UPstream::tuning_NBX_)
 
 registerOptSwitch ("nPollProcInterfaces", int, Foam::UPstream::nPollProcInterfaces)
 
 registerOptSwitch ("maxCommsSize", int, Foam::UPstream::maxCommsSize)
 

Variables

const int nPredefinedComm
 

Detailed Description

Original source file UPstream.C

Note
Included by global/globals.C

Definition in file UPstream.C.

Macro Definition Documentation

◆ PrintControl

#define PrintControl (   Ctrl,
  Name 
)
Value:
if (UPstream::usingTopoControl(topoControls::Ctrl)) \
{ \
os << (count++ ? ' ' : '(') << Name; \
}
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of &#39;true&#39; entries.
Definition: BitOps.H:73

Referenced by UPstream::printTopoControl().

Function Documentation

◆ registerOptSwitch() [1/9]

registerOptSwitch ( "nodeComms"  ,
int  ,
Foam::UPstream::nodeCommsControl_   
)

◆ registerOptSwitch() [2/9]

registerOptSwitch ( "nodeComms.min"  ,
int  ,
Foam::UPstream::nodeCommsMin_   
)

◆ registerOptSwitch() [3/9]

registerOptSwitch ( "topoControl"  ,
int  ,
Foam::UPstream::topologyControl_   
)

◆ registerOptSwitch() [4/9]

registerOptSwitch ( "floatTransfer"  ,
bool  ,
Foam::UPstream::floatTransfer   
)

◆ registerOptSwitch() [5/9]

registerOptSwitch ( "nProcsSimpleSum"  ,
int  ,
Foam::UPstream::nProcsSimpleSum   
)

◆ registerOptSwitch() [6/9]

registerOptSwitch ( "nbx.min"  ,
int  ,
Foam::UPstream::nProcsNonblockingExchange   
)

◆ registerOptSwitch() [7/9]

registerOptSwitch ( "nbx.tuning"  ,
int  ,
Foam::UPstream::tuning_NBX_   
)

◆ registerOptSwitch() [8/9]

registerOptSwitch ( "nPollProcInterfaces"  ,
int  ,
Foam::UPstream::nPollProcInterfaces   
)

◆ registerOptSwitch() [9/9]

registerOptSwitch ( "maxCommsSize"  ,
int  ,
Foam::UPstream::maxCommsSize   
)

Variable Documentation

◆ nPredefinedComm

const int nPredefinedComm
Initial value:
= []()
{
}()
A range or interval of labels defined by a start and a size.
Definition: labelRange.H:52
static label newCommunicator(const label parent, const labelRange &subRanks, const bool withComponents=true)
Create new communicator with sub-ranks on the parent communicator.
Definition: UPstream.C:272
static label nComms() noexcept
Number of currently defined communicators.
Definition: UPstream.H:1050

Definition at line 888 of file UPstream.C.