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().

Here is the caller graph for this function:

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 buf, ck, MPI_Probe, nRecv, outCount, and meshChunk::receive().

Here is the call graph for this function:

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, ConcreteNetworkElement::setFace(), and PUP::t.

Referenced by parallelSurfaceTransfer_c::transfer().

Here is the call graph for this function:

Here is the caller graph for this function:


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 Mon Sep 21 08:23:29 2020 for Charm++ by  doxygen 1.5.5