Public Member Functions | Friends | List of all members
UPstream::commsStruct Class Reference

Structure for communicating between processors. More...

Public Member Functions

 commsStruct ()
 Construct null. More...
 
 commsStruct (const label, const labelList &, const labelList &, const labelList &)
 Construct from components. More...
 
 commsStruct (const label nProcs, const label myProcID, const label, const labelList &, const labelList &)
 Construct from components; construct allNotBelow_. More...
 
label above () const
 
const labelListbelow () const
 
const labelListallBelow () const
 
const labelListallNotBelow () const
 
bool operator== (const commsStruct &) const
 
bool operator!= (const commsStruct &) const
 

Friends

Ostreamoperator<< (Ostream &, const commsStruct &)
 

Detailed Description

Structure for communicating between processors.

Definition at line 76 of file UPstream.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 31 of file UPstreamCommsStruct.C.

Referenced by UPstream::commsStruct::commsStruct().

Here is the caller graph for this function:

commsStruct ( const label  above,
const labelList below,
const labelList allBelow,
const labelList allNotBelow 
)

Construct from components.

Definition at line 41 of file UPstreamCommsStruct.C.

References UPstream::commsStruct::commsStruct().

Here is the call graph for this function:

commsStruct ( const label  nProcs,
const label  myProcID,
const label  above,
const labelList below,
const labelList allBelow 
)

Construct from components; construct allNotBelow_.

Definition at line 56 of file UPstreamCommsStruct.C.

References Foam::abort(), Foam::FatalError, FatalErrorIn, forAll, and List< T >::size().

Here is the call graph for this function:

Member Function Documentation

label above ( ) const
inline
const labelList& below ( ) const
inline
const labelList& allBelow ( ) const
inline

Definition at line 135 of file UPstream.H.

Referenced by Pstream::gatherList(), and UPstream::commsStruct::operator==().

Here is the caller graph for this function:

const labelList& allNotBelow ( ) const
inline

Definition at line 140 of file UPstream.H.

References UPstream::commsStruct::operator!=(), UPstream::commsStruct::operator<<, and UPstream::commsStruct::operator==().

Referenced by UPstream::commsStruct::operator==(), and Pstream::scatterList().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator== ( const commsStruct comm) const

Definition at line 93 of file UPstreamCommsStruct.C.

References UPstream::commsStruct::above(), UPstream::commsStruct::allBelow(), UPstream::commsStruct::allNotBelow(), and UPstream::commsStruct::below().

Referenced by UPstream::commsStruct::allNotBelow(), and UPstream::commsStruct::operator!=().

Here is the call graph for this function:

Here is the caller graph for this function:

bool operator!= ( const commsStruct comm) const

Definition at line 105 of file UPstreamCommsStruct.C.

References UPstream::commsStruct::operator==().

Referenced by UPstream::commsStruct::allNotBelow().

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

Ostream& operator<< ( Ostream ,
const commsStruct  
)
friend

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