Public Member Functions | Private Member Functions | Private Attributes
UPstream::communicator Class Reference

Helper class for allocating/freeing communicators. More...

Public Member Functions

 communicator (const label parent, const labelList &subRanks, const bool doPstream)
 
 ~communicator ()
 
 operator label () const
 

Private Member Functions

 communicator (const communicator &)
 Disallow copy and assignment. More...
 
void operator= (const communicator &)
 

Private Attributes

label comm_
 

Detailed Description

Helper class for allocating/freeing communicators.

Definition at line 294 of file UPstream.H.

Constructor & Destructor Documentation

◆ communicator() [1/2]

communicator ( const communicator )
private

Disallow copy and assignment.

◆ communicator() [2/2]

communicator ( const label  parent,
const labelList subRanks,
const bool  doPstream 
)
inline

Definition at line 305 of file UPstream.H.

◆ ~communicator()

~communicator ( )
inline

Definition at line 314 of file UPstream.H.

References UPstream::communicator::comm_, and UPstream::freeCommunicator().

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

void operator= ( const communicator )
private

◆ operator label()

operator label ( ) const
inline

Definition at line 319 of file UPstream.H.

References UPstream::communicator::comm_.

Field Documentation

◆ comm_

label comm_
private

The documentation for this class was generated from the following file: