OOFEM 3.0
Loading...
Searching...
No Matches
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

◆ CommunicationPacketPool()

oofem::CommunicationPacketPool::CommunicationPacketPool ( )
inline

◆ ~CommunicationPacketPool()

oofem::CommunicationPacketPool::~CommunicationPacketPool ( )
inline

Definition at line 144 of file dyncombuff.h.

References clear().

Member Function Documentation

◆ clear()

void oofem::CommunicationPacketPool::clear ( )
private

◆ popPacket()

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

◆ printInfo()

void oofem::CommunicationPacketPool::printInfo ( )

◆ pushPacket()

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

Definition at line 482 of file dyncombuff.C.

References available_packets, freePackets, leased_packets, leasedPackets, and OOFEM_ERROR.

Member Data Documentation

◆ allocatedPackets

int oofem::CommunicationPacketPool::allocatedPackets
private

Definition at line 139 of file dyncombuff.h.

Referenced by clear(), CommunicationPacketPool(), popPacket(), and printInfo().

◆ available_packets

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

Definition at line 136 of file dyncombuff.h.

Referenced by clear(), CommunicationPacketPool(), popPacket(), and pushPacket().

◆ freePackets

int oofem::CommunicationPacketPool::freePackets
private

Definition at line 139 of file dyncombuff.h.

Referenced by clear(), CommunicationPacketPool(), popPacket(), printInfo(), and pushPacket().

◆ leased_packets

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

Definition at line 137 of file dyncombuff.h.

Referenced by clear(), CommunicationPacketPool(), popPacket(), and pushPacket().

◆ leasedPackets

int oofem::CommunicationPacketPool::leasedPackets
private

Definition at line 139 of file dyncombuff.h.

Referenced by clear(), CommunicationPacketPool(), popPacket(), printInfo(), and pushPacket().


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011