walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T > Class Template Reference

#include <RegionalFloodFill.h>

Public Member Functions

 RegionalFloodFill (const GhostLayerField< T, 1 > *externField, const Cell &startCell, stencil::Direction startDirection, const T &searchValue, cell_idx_t neighborhood=2)
 
 RegionalFloodFill (const GhostLayerField< T, 1 > *externField, const Cell &startCell, const T &emptyValue, cell_idx_t neighborhood=2)
 
 ~RegionalFloodFill ()
 
bool connected (stencil::Direction d)
 
bool connected (cell_idx_t xOff, cell_idx_t yOff, cell_idx_t zOff)
 
const Field< bool, 1 > & workingField () const
 

Protected Member Functions

bool cellInsideAndNotMarked (const Cell &cell)
 
void runFloodFill (const Cell &startCell, stencil::Direction startDirection, const T &searchValue, cell_idx_t neighborhood)
 

Protected Attributes

const GhostLayerField< T, 1 > * externField_
 
Field< bool, 1 > * workingField_
 
CellInterval workingFieldSize_
 
searchValue_
 
Cell offset_
 
Cell startCellInWorkingField_
 

Constructor & Destructor Documentation

◆ RegionalFloodFill() [1/2]

template<typename T , typename Stencil_T >
walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::RegionalFloodFill ( const GhostLayerField< T, 1 > *  externField,
const Cell startCell,
stencil::Direction  startDirection,
const T &  searchValue,
cell_idx_t  neighborhood = 2 
)

◆ RegionalFloodFill() [2/2]

template<typename T , typename Stencil_T >
walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::RegionalFloodFill ( const GhostLayerField< T, 1 > *  externField,
const Cell startCell,
const T &  emptyValue,
cell_idx_t  neighborhood = 2 
)

◆ ~RegionalFloodFill()

template<typename T , typename Stencil_T >
walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::~RegionalFloodFill ( )
inline

Member Function Documentation

◆ cellInsideAndNotMarked()

template<typename T , typename Stencil_T >
bool walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::cellInsideAndNotMarked ( const Cell cell)
inlineprotected

◆ connected() [1/2]

template<typename T , typename Stencil_T >
bool walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::connected ( cell_idx_t  xOff,
cell_idx_t  yOff,
cell_idx_t  zOff 
)
inline

◆ connected() [2/2]

template<typename T , typename Stencil_T >
bool walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::connected ( stencil::Direction  d)
inline

◆ runFloodFill()

template<typename T , typename Stencil_T >
void walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::runFloodFill ( const Cell startCell,
stencil::Direction  startDirection,
const T &  searchValue,
cell_idx_t  neighborhood 
)
protected

◆ workingField()

template<typename T , typename Stencil_T >
const Field< bool, 1 >& walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::workingField ( ) const
inline

Member Data Documentation

◆ externField_

template<typename T , typename Stencil_T >
const GhostLayerField< T, 1 >* walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::externField_
protected

◆ offset_

template<typename T , typename Stencil_T >
Cell walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::offset_
protected

◆ searchValue_

template<typename T , typename Stencil_T >
T walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::searchValue_
protected

◆ startCellInWorkingField_

template<typename T , typename Stencil_T >
Cell walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::startCellInWorkingField_
protected

◆ workingField_

template<typename T , typename Stencil_T >
Field< bool, 1 >* walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::workingField_
protected

◆ workingFieldSize_

template<typename T , typename Stencil_T >
CellInterval walberla::free_surface::bubble_model::RegionalFloodFill< T, Stencil_T >::workingFieldSize_
protected

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