OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::CommunicationPacketPool Class Reference

#include <dyncombuff.h>

Public Member Functions

 CommunicationPacketPool ()
 
 ~CommunicationPacketPool ()
 
CommunicationPacketpopPacket (MPI_Comm)
 
void pushPacket (CommunicationPacket *)
 
void printInfo ()
 

Private Member Functions

void clear ()
 

Private Attributes

std::list< CommunicationPacket * > available_packets
 
std::list< CommunicationPacket * > leased_packets
 
int allocatedPackets
 
int leasedPackets
 
int freePackets
 

Detailed Description

Definition at line 133 of file dyncombuff.h.

Constructor & Destructor Documentation

oofem::CommunicationPacketPool::CommunicationPacketPool ( )
inline

Definition at line 141 of file dyncombuff.h.

oofem::CommunicationPacketPool::~CommunicationPacketPool ( )
inline

Definition at line 144 of file dyncombuff.h.

Member Function Documentation

void oofem::CommunicationPacketPool::clear ( )
private

Definition at line 503 of file dyncombuff.C.

References OOFEM_WARNING.

CommunicationPacket * oofem::CommunicationPacketPool::popPacket ( MPI_Comm  comm)

Definition at line 455 of file dyncombuff.C.

References OOFEM_ERROR.

Referenced by oofem::DynamicCommunicationBuffer::allocateNewPacket().

void oofem::CommunicationPacketPool::printInfo ( )
void oofem::CommunicationPacketPool::pushPacket ( CommunicationPacket p)

Definition at line 482 of file dyncombuff.C.

References OOFEM_ERROR.

Referenced by oofem::DynamicCommunicationBuffer::freePacket().

Member Data Documentation

int oofem::CommunicationPacketPool::allocatedPackets
private

Definition at line 139 of file dyncombuff.h.

std :: list< CommunicationPacket * > oofem::CommunicationPacketPool::available_packets
private

Definition at line 136 of file dyncombuff.h.

int oofem::CommunicationPacketPool::freePackets
private

Definition at line 139 of file dyncombuff.h.

std :: list< CommunicationPacket * > oofem::CommunicationPacketPool::leased_packets
private

Definition at line 137 of file dyncombuff.h.

int oofem::CommunicationPacketPool::leasedPackets
private

Definition at line 139 of file dyncombuff.h.


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:34 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011