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

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

 defineTypeNameAndDebug (UPstream, 0)
 
static List< int > getHostGroupIds (const label parentCommunicator)
 
 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 Foam::label nPredefinedComm
 

Detailed Description

Original source file UPstream.C

Note
Included by global/globals.C

Definition in file UPstream.C.

Function Documentation

◆ registerOptSwitch() [1/6]

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

◆ registerOptSwitch() [2/6]

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

◆ registerOptSwitch() [3/6]

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

◆ registerOptSwitch() [4/6]

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

◆ registerOptSwitch() [5/6]

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

◆ registerOptSwitch() [6/6]

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

Variable Documentation

◆ nPredefinedComm

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

Definition at line 759 of file UPstream.C.