walberla::free_surface::bubble_model Namespace Reference

Classes

class  Bubble
 
class  BubbleDistanceAdaptionFunction
 
class  BubbleIDFieldPackInfo
 
class  BubbleModel
 
class  BubbleModelBase
 
class  BubbleModelConstantPressure
 
class  CommunicatedNewBubbles
 
class  DisjoiningPressureBubbleModel
 
class  DistanceInfo
 
class  FloodFillInterface
 
class  FloodFillUsingFillLevel
 
class  FloodFillUsingFlagField
 
class  MergeInformation
 
class  NewBubbleCommunication
 
class  RegionalFloodFill
 

Typedefs

using BubbleID = uint32_t
 
using BubbleField_T = GhostLayerField< BubbleID, 1 >
 
using ScalarField_T = GhostLayerField< real_t, 1 >
 
using BubbleDistanceAdaptor = field::GhostLayerFieldAdaptor< BubbleDistanceAdaptionFunction, 0 >
 

Functions

mpi::SendBufferoperator<< (mpi::SendBuffer &buf, const Bubble &b)
 
mpi::RecvBufferoperator>> (mpi::RecvBuffer &buf, Bubble &b)
 
std::ostream & operator<< (std::ostream &os, const Bubble &b)
 
template<typename Stencil_T >
std::shared_ptr< BubbleModelBasecreateFromConfig (const std::shared_ptr< StructuredBlockForest > &blockStorage, ConstBlockDataID fillFieldID, const Config::BlockHandle &configBlock=Config::BlockHandle())
 
mpi::SendBufferoperator<< (mpi::SendBuffer &buf, const DistanceInfo &di)
 
mpi::RecvBufferoperator>> (mpi::RecvBuffer &buf, DistanceInfo &di)
 
template<typename Body_T >
void addBodyToFillLevelField (StructuredBlockStorage &blockStorage, BlockDataID fillFieldID, const Body_T &body, bool isGas)
 
template<typename flag_t >
void setFlagFieldFromFillLevels (FlagField< flag_t > *flagField, const GhostLayerField< real_t, 1 > *fillField, const FlagUID &liquid, const FlagUID &gas, const FlagUID &interFace)
 
template<typename flag_t , typename Stencil_T >
bool checkForValidInterfaceLayer (const FlagField< flag_t > *flagField, const FlagUID &liquid, const FlagUID &gas, const FlagUID &interFace, bool printWarnings)
 
std::ostream & operator<< (std::ostream &os, const MergeInformation &mi)
 

Variables

const uint32_t INVALID_BUBBLE_ID = uint32_t(-1)
 

Typedef Documentation

◆ BubbleDistanceAdaptor

◆ BubbleField_T

◆ BubbleID

◆ ScalarField_T

Function Documentation

◆ addBodyToFillLevelField()

template<typename Body_T >
void walberla::free_surface::bubble_model::addBodyToFillLevelField ( StructuredBlockStorage blockStorage,
BlockDataID  fillFieldID,
const Body_T &  body,
bool  isGas 
)

◆ checkForValidInterfaceLayer()

template<typename flag_t , typename Stencil_T >
bool walberla::free_surface::bubble_model::checkForValidInterfaceLayer ( const FlagField< flag_t > *  flagField,
const FlagUID &  liquid,
const FlagUID &  gas,
const FlagUID &  interFace,
bool  printWarnings 
)

◆ createFromConfig()

template<typename Stencil_T >
std::shared_ptr< BubbleModelBase > walberla::free_surface::bubble_model::createFromConfig ( const std::shared_ptr< StructuredBlockForest > &  blockStorage,
ConstBlockDataID  fillFieldID,
const Config::BlockHandle configBlock = Config::BlockHandle() 
)

◆ operator<<() [1/4]

mpi::SendBuffer& walberla::free_surface::bubble_model::operator<< ( mpi::SendBuffer buf,
const Bubble b 
)
inline

◆ operator<<() [2/4]

mpi::SendBuffer & walberla::free_surface::bubble_model::operator<< ( mpi::SendBuffer buf,
const DistanceInfo di 
)

◆ operator<<() [3/4]

std::ostream& walberla::free_surface::bubble_model::operator<< ( std::ostream &  os,
const Bubble b 
)
inline

◆ operator<<() [4/4]

std::ostream & walberla::free_surface::bubble_model::operator<< ( std::ostream &  os,
const MergeInformation mi 
)

◆ operator>>() [1/2]

mpi::RecvBuffer& walberla::free_surface::bubble_model::operator>> ( mpi::RecvBuffer buf,
Bubble b 
)
inline

◆ operator>>() [2/2]

mpi::RecvBuffer & walberla::free_surface::bubble_model::operator>> ( mpi::RecvBuffer buf,
DistanceInfo di 
)

◆ setFlagFieldFromFillLevels()

template<typename flag_t >
void walberla::free_surface::bubble_model::setFlagFieldFromFillLevels ( FlagField< flag_t > *  flagField,
const GhostLayerField< real_t, 1 > *  fillField,
const FlagUID &  liquid,
const FlagUID &  gas,
const FlagUID &  interFace 
)

Variable Documentation

◆ INVALID_BUBBLE_ID

const uint32_t walberla::free_surface::bubble_model::INVALID_BUBBLE_ID = uint32_t(-1)