PPL Logo

faceSender Class Reference

Sends faces across the wire to one destination. More...

Collaboration diagram for faceSender:

Collaboration graph
[legend]

Public Member Functions

 faceSender (void)
 ~faceSender ()
void countFace (const sendState &s, int t)
 This face will be sent: count it.
int getCount (void) const
void putFace (const sendState &s, int t)
 Pack this face up to be sent off (happens after all calls to "count").
void isend (MPI_Comm comm, int src, int dest)
 Send all put faces to this destination.
void wait (void)
 Wait for sends to complete.

Private Attributes

entityPackList packFaces
entityPackList packPts
int nSend
int nPut
meshChunk ck
MPI_Request sendReq

Detailed Description

Sends faces across the wire to one destination.

Definition at line 317 of file parallelsurfacetransfer.C.


Constructor & Destructor Documentation

faceSender::faceSender ( void   )  [inline]

Definition at line 324 of file parallelsurfacetransfer.C.

References nPut, and nSend.

faceSender::~faceSender (  )  [inline]

Definition at line 327 of file parallelsurfacetransfer.C.


Member Function Documentation

void faceSender::countFace ( const sendState s,
int  t 
) [inline]

This face will be sent: count it.

Definition at line 331 of file parallelsurfacetransfer.C.

References entityPackList::add(), conn, PrismMesh::getPoints(), PrismMesh::getPrism(), PrismMesh::getPrisms(), sendState::mesh, nSend, packFaces, and packPts.

Referenced by parallelSurfaceTransfer_c::transfer().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 339 of file parallelsurfacetransfer.C.

References nSend.

void faceSender::putFace ( const sendState s,
int  t 
) [inline]

void faceSender::isend ( MPI_Comm  comm,
int  src,
int  dest 
) [inline]

Send all put faces to this destination.

Definition at line 368 of file parallelsurfacetransfer.C.

References ck, meshChunk::messageBuf(), meshChunk::messageSizeXfer(), MPI_Isend, n, nSend, and sendReq.

Here is the call graph for this function:

void faceSender::wait ( void   )  [inline]

Wait for sends to complete.

Definition at line 379 of file parallelsurfacetransfer.C.

References MPI_Wait, nSend, and sendReq.


Field Documentation

Definition at line 318 of file parallelsurfacetransfer.C.

Referenced by countFace(), and putFace().

Definition at line 318 of file parallelsurfacetransfer.C.

Referenced by countFace(), and putFace().

Definition at line 319 of file parallelsurfacetransfer.C.

Referenced by countFace(), faceSender(), getCount(), isend(), putFace(), and wait().

int faceSender::nPut [private]

Definition at line 320 of file parallelsurfacetransfer.C.

Referenced by faceSender(), and putFace().

Definition at line 321 of file parallelsurfacetransfer.C.

Referenced by isend(), and putFace().

Definition at line 322 of file parallelsurfacetransfer.C.

Referenced by isend(), and wait().


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

Generated on Mon Sep 21 08:23:30 2020 for Charm++ by  doxygen 1.5.5