OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

commsStruct Class Reference

Structure for communicating between processors. More...

Collaboration diagram for commsStruct:

List of all members.


Public Member Functions

 commsStruct ()
 Construct null.
 commsStruct (const label, const labelList &, const labelList &, const labelList &)
 Construct from components.
 commsStruct (const label nProcs, const label myProcID, const label, const labelList &, const labelList &)
 Construct from components; construct allNotBelow_.
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 69 of file Pstream.H.


Constructor & Destructor Documentation

commsStruct (  ) 

Construct null.

Definition at line 23 of file PstreamCommsStruct.C.

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

Construct from components.

Definition at line 33 of file PstreamCommsStruct.C.

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

Construct from components; construct allNotBelow_.

Definition at line 48 of file PstreamCommsStruct.C.


Member Function Documentation

label above (  )  const [inline]

Definition at line 120 of file Pstream.H.

Referenced by Pstream::combineGather(), Pstream::gather(), Pstream::gatherList(), Pstream::listCombineGather(), and Pstream::mapCombineGather().

Here is the caller graph for this function:

const labelList& below (  )  const [inline]

Definition at line 125 of file Pstream.H.

Referenced by Pstream::combineGather(), Pstream::gather(), Pstream::gatherList(), Pstream::listCombineGather(), and Pstream::mapCombineGather().

Here is the caller graph for this function:

const labelList& allBelow (  )  const [inline]

Definition at line 130 of file Pstream.H.

Referenced by Pstream::gatherList().

Here is the caller graph for this function:

const labelList& allNotBelow (  )  const [inline]

Definition at line 135 of file Pstream.H.

bool operator== ( const commsStruct comm  )  const

Definition at line 85 of file PstreamCommsStruct.C.

References Pstream::abort(), Foam::FatalError, and FatalErrorIn.

Here is the call graph for this function:

bool operator!= ( const commsStruct comm  )  const

Definition at line 97 of file PstreamCommsStruct.C.


Friends And Related Function Documentation

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


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd