walberla::free_surface::bubble_model::MergeInformation Class Reference

#include <MergeInformation.h>

Public Member Functions

 MergeInformation (uint_t numberOfBubbles=uint_c(0))
 
void registerMerge (BubbleID b0, BubbleID b1)
 
void communicateMerges ()
 
void mergeAndReorderBubbleVector (std::vector< Bubble > &bubbles)
 
void renameOnBubbleField (BubbleField_T *bf) const
 
void resizeAndClear (uint_t numberOfBubbles)
 
bool hasMerges () const
 
void print (std::ostream &os) const
 

Public Attributes

std::vector< BubbleIDrenameVec_
 

Private Member Functions

void resize (uint_t numberOfBubbles)
 
bool isRenamed (size_t i) const
 
void resolveTransitiveRenames ()
 
bool transitiveRenamesResolved () const
 
uint_t countNumberOfRenames () const
 

Private Attributes

bool hasMerges_
 

Friends

void checkRenameVec (const MergeInformation &mi, const std::vector< BubbleID > &vecCompare)
 

Constructor & Destructor Documentation

◆ MergeInformation()

walberla::free_surface::bubble_model::MergeInformation::MergeInformation ( uint_t  numberOfBubbles = uint_c(0))

Member Function Documentation

◆ communicateMerges()

void walberla::free_surface::bubble_model::MergeInformation::communicateMerges ( )

◆ countNumberOfRenames()

uint_t walberla::free_surface::bubble_model::MergeInformation::countNumberOfRenames ( ) const
private

◆ hasMerges()

bool walberla::free_surface::bubble_model::MergeInformation::hasMerges ( ) const
inline

◆ isRenamed()

bool walberla::free_surface::bubble_model::MergeInformation::isRenamed ( size_t  i) const
inlineprivate

◆ mergeAndReorderBubbleVector()

void walberla::free_surface::bubble_model::MergeInformation::mergeAndReorderBubbleVector ( std::vector< Bubble > &  bubbles)

◆ print()

void walberla::free_surface::bubble_model::MergeInformation::print ( std::ostream &  os) const

◆ registerMerge()

void walberla::free_surface::bubble_model::MergeInformation::registerMerge ( BubbleID  b0,
BubbleID  b1 
)

◆ renameOnBubbleField()

void walberla::free_surface::bubble_model::MergeInformation::renameOnBubbleField ( BubbleField_T bf) const

◆ resize()

void walberla::free_surface::bubble_model::MergeInformation::resize ( uint_t  numberOfBubbles)
private

◆ resizeAndClear()

void walberla::free_surface::bubble_model::MergeInformation::resizeAndClear ( uint_t  numberOfBubbles)

◆ resolveTransitiveRenames()

void walberla::free_surface::bubble_model::MergeInformation::resolveTransitiveRenames ( )
private

◆ transitiveRenamesResolved()

bool walberla::free_surface::bubble_model::MergeInformation::transitiveRenamesResolved ( ) const
private

Friends And Related Function Documentation

◆ checkRenameVec

void checkRenameVec ( const MergeInformation mi,
const std::vector< BubbleID > &  vecCompare 
)
friend

Member Data Documentation

◆ hasMerges_

bool walberla::free_surface::bubble_model::MergeInformation::hasMerges_
private

◆ renameVec_

std::vector< BubbleID > walberla::free_surface::bubble_model::MergeInformation::renameVec_

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