PPL Logo

faceReceiver Class Reference

Receives faces from the wire. More...

Collaboration diagram for faceReceiver:

Collaboration graph
[legend]

Public Member Functions

 faceReceiver ()
 ~faceReceiver ()
void count (void)
int getCount (void) const
void recv (const meshState &s, MPI_Comm comm, int src)
 After all the "count" calls, grab data from network.
ConcreteElementNodeDatagetFace (const meshState &s, const double *&faces)
 Extract the next face (face t of returned mesh) from the list.

Private Attributes

int nRecv
meshChunk ck
int outCount
ConcreteNetworkElement outElement

Detailed Description

Receives faces from the wire.

Definition at line 413 of file parallelsurfacetransfer.C.


Constructor & Destructor Documentation

faceReceiver::faceReceiver (  )  [inline]

Definition at line 419 of file parallelsurfacetransfer.C.

References nRecv.

faceReceiver::~faceReceiver (  )  [inline]

Definition at line 420 of file parallelsurfacetransfer.C.


Member Function Documentation

void faceReceiver::count ( void   )  [inline]

Definition at line 422 of file parallelsurfacetransfer.C.

References nRecv.

Referenced by parallelSurfaceTransfer_c::transfer().

int faceReceiver::getCount ( void   )  const [inline]

Definition at line 423 of file parallelsurfacetransfer.C.

References nRecv.

void faceReceiver::recv ( const meshState s,
MPI_Comm  comm,
int  src 
) [inline]

After all the "count" calls, grab data from network.

Definition at line 426 of file parallelsurfacetransfer.C.

References ck, MPI_Get_count(), MPI_Probe(), MPI_Recv(), nRecv, outCount, and meshChunk::receive().

ConcreteElementNodeData* faceReceiver::getFace ( const meshState s,
const double *&  faces 
) [inline]

Extract the next face (face t of returned mesh) from the list.

Faces must be returned in the same order as presented in faceSender::putFace.

Definition at line 444 of file parallelsurfacetransfer.C.

References ck, meshChunk::getFaceData(), meshChunk::getSendFaces(), outCount, outElement, and ConcreteNetworkElement::setFace().

Referenced by parallelSurfaceTransfer_c::transfer().


Field Documentation

Definition at line 414 of file parallelsurfacetransfer.C.

Referenced by count(), faceReceiver(), getCount(), and recv().

Definition at line 415 of file parallelsurfacetransfer.C.

Referenced by getFace(), and recv().

Definition at line 416 of file parallelsurfacetransfer.C.

Referenced by getFace(), and recv().

Definition at line 417 of file parallelsurfacetransfer.C.

Referenced by getFace().


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

Generated on Fri May 25 08:03:10 2012 for Charm++ by  doxygen 1.5.5