Loading...
Searching...
No Matches
UPstream.C File Reference
Include dependency graph for UPstream.C:

Go to the source code of this file.

Namespaces

namespace  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; \
}
OBJstream os(runTime.globalPath()/outputName)

Referenced by UPstream::printTopoControl().

Function Documentation

◆ registerOptSwitch() [1/9]

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

References UPstream::nodeCommsControl_, and Foam::debug::optimisationSwitch().

Here is the call graph for this function:

◆ registerOptSwitch() [2/9]

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

References UPstream::nodeCommsMin_, and Foam::debug::optimisationSwitch().

Here is the call graph for this function:

◆ registerOptSwitch() [3/9]

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

References Foam::debug::optimisationSwitch(), and UPstream::topologyControl_.

Here is the call graph for this function:

◆ registerOptSwitch() [4/9]

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

References UPstream::floatTransfer, and Foam::debug::optimisationSwitch().

Here is the call graph for this function:

◆ registerOptSwitch() [5/9]

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

References UPstream::nProcsSimpleSum, and Foam::debug::optimisationSwitch().

Here is the call graph for this function:

◆ registerOptSwitch() [6/9]

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

References UPstream::nProcsNonblockingExchange, and Foam::debug::optimisationSwitch().

Here is the call graph for this function:

◆ registerOptSwitch() [7/9]

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

References Foam::debug::optimisationSwitch(), and UPstream::tuning_NBX_.

Here is the call graph for this function:

◆ registerOptSwitch() [8/9]

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

References name, UPstream::nPollProcInterfaces, and Foam::debug::optimisationSwitches().

Here is the call graph for this function:

◆ registerOptSwitch() [9/9]

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

References UPstream::maxCommsSize, and Foam::debug::optimisationSwitch().

Here is the call graph for this function:

Variable Documentation

◆ nPredefinedComm

const int nPredefinedComm
Initial value:
= []()
{
}()
static label nComms() noexcept
Number of currently defined communicators.
Definition UPstream.H:1132
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
A range or interval of labels defined by a start and a size.
Definition labelRange.H:66

Definition at line 888 of file UPstream.C.