walberla::free_surface::bubble_model::DistanceInfo Class Reference

#include <DistanceInfo.h>

Public Member Functions

 DistanceInfo ()=default
 
real_t getDistanceToNearestBubble (const BubbleID &ownID, real_t maxDistance) const
 
void combine (const DistanceInfo &other, real_t linkDistance, real_t maxDistance)
 
void setToZero (bubble_model::BubbleID id)
 
void removeZeroDistanceFromLiquid ()
 
bool operator== (DistanceInfo &other)
 
void clear ()
 
void print (std::ostream &os) const
 

Protected Attributes

std::map< bubble_model::BubbleID, real_tbubbleInfos_
 

Friends

mpi::SendBufferoperator<< (mpi::SendBuffer &, const DistanceInfo &)
 
mpi::RecvBufferoperator>> (mpi::RecvBuffer &, DistanceInfo &)
 

Constructor & Destructor Documentation

◆ DistanceInfo()

walberla::free_surface::bubble_model::DistanceInfo::DistanceInfo ( )
default

Member Function Documentation

◆ clear()

void walberla::free_surface::bubble_model::DistanceInfo::clear ( )
inline

◆ combine()

void walberla::free_surface::bubble_model::DistanceInfo::combine ( const DistanceInfo other,
real_t  linkDistance,
real_t  maxDistance 
)

◆ getDistanceToNearestBubble()

real_t walberla::free_surface::bubble_model::DistanceInfo::getDistanceToNearestBubble ( const BubbleID ownID,
real_t  maxDistance 
) const

◆ operator==()

bool walberla::free_surface::bubble_model::DistanceInfo::operator== ( DistanceInfo other)

◆ print()

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

◆ removeZeroDistanceFromLiquid()

void walberla::free_surface::bubble_model::DistanceInfo::removeZeroDistanceFromLiquid ( )

◆ setToZero()

void walberla::free_surface::bubble_model::DistanceInfo::setToZero ( bubble_model::BubbleID  id)

Friends And Related Function Documentation

◆ operator<<

mpi::SendBuffer& operator<< ( mpi::SendBuffer ,
const DistanceInfo  
)
friend

◆ operator>>

mpi::RecvBuffer& operator>> ( mpi::RecvBuffer ,
DistanceInfo  
)
friend

Member Data Documentation

◆ bubbleInfos_

std::map< bubble_model::BubbleID, real_t > walberla::free_surface::bubble_model::DistanceInfo::bubbleInfos_
protected

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