waLBerla 7.2
Loading...
Searching...
No Matches
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 &buf, const DistanceInfo &di)
 
mpi::RecvBufferoperator>> (mpi::RecvBuffer &buf, DistanceInfo &di)
 

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 Symbol Documentation

◆ operator<<

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

◆ operator>>

mpi::RecvBuffer & operator>> ( mpi::RecvBuffer & buf,
DistanceInfo & di )
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: