OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

commSchedule Class Reference

Collaboration diagram for commSchedule:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 71 of file commSchedule.H.


Public Member Functions

 ClassName ("commSchedule")
 commSchedule (const label nProcs, const List< labelPair > &comms)
 Construct from wanted communication. Wanted communication is between.
const labelList & schedule () const
 order in which comms is scheduled
const labelListList & procSchedule () const
 Per processor the order in which communication has been scheduled.

Constructor & Destructor Documentation

commSchedule ( const label  nProcs,
const List< labelPair > &  comms 
)

Construct from wanted communication. Wanted communication is between.

two processors. Can be a one-way communication or two-way communication, that is up to the caller. This class just determines an order for it such that any processor is only talking to one other at a time. After construction:

  • schedule is the order in which comms is done.
  • procSchedule[procI] is for procI the order in which comms is done.


Member Function Documentation

ClassName ( "commSchedule"   ) 

const labelList& schedule (  )  const [inline]

order in which comms is scheduled

Definition at line 111 of file commSchedule.H.

const labelListList& procSchedule (  )  const [inline]

Per processor the order in which communication has been scheduled.

Definition at line 117 of file commSchedule.H.


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