walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T > Class Template Referenceabstract

#include <PdfRefillingSweep.h>

+ Inheritance diagram for walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >:

Public Types

using PdfField_T = lbm::PdfField< LatticeModel_T >
 
using flag_t = typename FlagField_T::flag_t
 
using Stencil_T = typename LatticeModel_T::Stencil
 

Public Member Functions

 RefillingSweepBase (const BlockDataID &pdfFieldID, const ConstBlockDataID &flagFieldID, const FlagInfo< FlagField_T > &flagInfo, bool useDataFromGhostLayers)
 
virtual void operator() (IBlock *const block)=0
 
virtual ~RefillingSweepBase ()=default
 
real_t getAverageDensityAndVelocity (const Cell &cell, const PdfField_T &pdfField, const FlagField_T &flagField, const FlagInfo< FlagField_T > &flagInfo, Vector3< real_t > &avgVelocity)
 
real_t getAverageDensityAndVelocity (const Cell &cell, const PdfField_T &pdfField, const FlagField_T &flagField, const FlagInfo< FlagField_T > &flagInfo, Vector3< real_t > &avgVelocity, std::vector< bool > &validStencilIndices)
 
std::vector< real_tgetAveragePdfs (const Cell &cell, const PdfField_T &pdfField, const FlagField_T &flagField, const FlagInfo< FlagField_T > &flagInfo)
 

Protected Attributes

BlockDataID pdfFieldID_
 
ConstBlockDataID flagFieldID_
 
FlagInfo< FlagField_TflagInfo_
 
bool useDataFromGhostLayers_
 

Member Typedef Documentation

◆ flag_t

template<typename LatticeModel_T , typename FlagField_T >
using walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::flag_t = typename FlagField_T::flag_t

◆ PdfField_T

template<typename LatticeModel_T , typename FlagField_T >
using walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::PdfField_T = lbm::PdfField< LatticeModel_T >

◆ Stencil_T

template<typename LatticeModel_T , typename FlagField_T >
using walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::Stencil_T = typename LatticeModel_T::Stencil

Constructor & Destructor Documentation

◆ RefillingSweepBase()

template<typename LatticeModel_T , typename FlagField_T >
walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::RefillingSweepBase ( const BlockDataID pdfFieldID,
const ConstBlockDataID flagFieldID,
const FlagInfo< FlagField_T > &  flagInfo,
bool  useDataFromGhostLayers 
)
inline

◆ ~RefillingSweepBase()

template<typename LatticeModel_T , typename FlagField_T >
virtual walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::~RefillingSweepBase ( )
virtualdefault

Member Function Documentation

◆ getAverageDensityAndVelocity() [1/2]

template<typename LatticeModel_T , typename FlagField_T >
real_t walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::getAverageDensityAndVelocity ( const Cell cell,
const PdfField_T pdfField,
const FlagField_T flagField,
const FlagInfo< FlagField_T > &  flagInfo,
Vector3< real_t > &  avgVelocity 
)
inline

◆ getAverageDensityAndVelocity() [2/2]

template<typename LatticeModel_T , typename FlagField_T >
real_t walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::getAverageDensityAndVelocity ( const Cell cell,
const PdfField_T pdfField,
const FlagField_T flagField,
const FlagInfo< FlagField_T > &  flagInfo,
Vector3< real_t > &  avgVelocity,
std::vector< bool > &  validStencilIndices 
)

◆ getAveragePdfs()

template<typename LatticeModel_T , typename FlagField_T >
std::vector< real_t > walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::getAveragePdfs ( const Cell cell,
const PdfField_T pdfField,
const FlagField_T flagField,
const FlagInfo< FlagField_T > &  flagInfo 
)

◆ operator()()

Member Data Documentation

◆ flagFieldID_

template<typename LatticeModel_T , typename FlagField_T >
ConstBlockDataID walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::flagFieldID_
protected

◆ flagInfo_

template<typename LatticeModel_T , typename FlagField_T >
FlagInfo< FlagField_T > walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::flagInfo_
protected

◆ pdfFieldID_

template<typename LatticeModel_T , typename FlagField_T >
BlockDataID walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::pdfFieldID_
protected

◆ useDataFromGhostLayers_

template<typename LatticeModel_T , typename FlagField_T >
bool walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >::useDataFromGhostLayers_
protected

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