PPL Logo

tetSender Class Reference

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

Collaboration diagram for tetSender:

Collaboration graph
[legend]

Public Member Functions

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

Private Attributes

entityPackList packTets
entityPackList packPts
int nSend
int nPut
tetMeshChunk ck
MPI_Request sendReq

Detailed Description

Sends tets across the wire to one destination.

Definition at line 307 of file paralleltransfer.C.


Constructor & Destructor Documentation

tetSender::tetSender ( void   )  [inline]

Definition at line 314 of file paralleltransfer.C.

References nPut, and nSend.

tetSender::~tetSender (  )  [inline]

Definition at line 317 of file paralleltransfer.C.


Member Function Documentation

void tetSender::countTet ( const sendState s,
int  t 
) [inline]

This tet will be sent: count it.

Definition at line 321 of file paralleltransfer.C.

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

Referenced by parallelTransfer_c::transfer().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 329 of file paralleltransfer.C.

References nSend.

void tetSender::putTet ( const sendState s,
int  t 
) [inline]

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

Send all put tets to this destination.

Definition at line 358 of file paralleltransfer.C.

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

Here is the call graph for this function:

void tetSender::wait ( void   )  [inline]

Wait for sends to complete.

Definition at line 369 of file paralleltransfer.C.

References MPI_Wait, nSend, and sendReq.


Field Documentation

Definition at line 308 of file paralleltransfer.C.

Referenced by countTet(), and putTet().

Definition at line 308 of file paralleltransfer.C.

Referenced by countTet(), and putTet().

int tetSender::nSend [private]

Definition at line 309 of file paralleltransfer.C.

Referenced by countTet(), getCount(), isend(), putTet(), tetSender(), and wait().

int tetSender::nPut [private]

Definition at line 310 of file paralleltransfer.C.

Referenced by putTet(), and tetSender().

Definition at line 311 of file paralleltransfer.C.

Referenced by isend(), and putTet().

Definition at line 312 of file paralleltransfer.C.

Referenced by isend(), and wait().


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

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