walberla::free_surface::bubble_model::CommunicatedNewBubbles Class Reference

Public Member Functions

 CommunicatedNewBubbles (size_t nrOfBubblesBefore, size_t locallyCreatedBubbles, size_t localOffset)
 
void storeNextBubble (BubbleID newBubbleID, Bubble &bubbleToStoreTo)
 
bool hasMoreBubbles () const
 
void mapTemporalToNewBubbleID (BubbleID &id) const
 
mpi::RecvBufferrecvBuffer ()
 

Private Member Functions

bool wasNextBubbleCreatedOnThisProcess () const
 

Private Attributes

mpi::RecvBuffer recvBuffer_
 
BubbleID nrOfBubblesBefore_
 
BubbleID nrOfLocallyCreatedBubbles_
 
BubbleID localOffset_
 
BubbleID nextBubbleCtr_
 
std::vector< BubbleIDtemporalIDToNewIDMap_
 

Constructor & Destructor Documentation

◆ CommunicatedNewBubbles()

walberla::free_surface::bubble_model::CommunicatedNewBubbles::CommunicatedNewBubbles ( size_t  nrOfBubblesBefore,
size_t  locallyCreatedBubbles,
size_t  localOffset 
)
inline

Member Function Documentation

◆ hasMoreBubbles()

bool walberla::free_surface::bubble_model::CommunicatedNewBubbles::hasMoreBubbles ( ) const
inline

◆ mapTemporalToNewBubbleID()

void walberla::free_surface::bubble_model::CommunicatedNewBubbles::mapTemporalToNewBubbleID ( BubbleID id) const
inline

◆ recvBuffer()

mpi::RecvBuffer& walberla::free_surface::bubble_model::CommunicatedNewBubbles::recvBuffer ( )
inline

◆ storeNextBubble()

void walberla::free_surface::bubble_model::CommunicatedNewBubbles::storeNextBubble ( BubbleID  newBubbleID,
Bubble bubbleToStoreTo 
)
inline

◆ wasNextBubbleCreatedOnThisProcess()

bool walberla::free_surface::bubble_model::CommunicatedNewBubbles::wasNextBubbleCreatedOnThisProcess ( ) const
inlineprivate

Member Data Documentation

◆ localOffset_

BubbleID walberla::free_surface::bubble_model::CommunicatedNewBubbles::localOffset_
private

◆ nextBubbleCtr_

BubbleID walberla::free_surface::bubble_model::CommunicatedNewBubbles::nextBubbleCtr_
private

◆ nrOfBubblesBefore_

BubbleID walberla::free_surface::bubble_model::CommunicatedNewBubbles::nrOfBubblesBefore_
private

◆ nrOfLocallyCreatedBubbles_

BubbleID walberla::free_surface::bubble_model::CommunicatedNewBubbles::nrOfLocallyCreatedBubbles_
private

◆ recvBuffer_

mpi::RecvBuffer walberla::free_surface::bubble_model::CommunicatedNewBubbles::recvBuffer_
private

◆ temporalIDToNewIDMap_

std::vector< BubbleID > walberla::free_surface::bubble_model::CommunicatedNewBubbles::temporalIDToNewIDMap_
private

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