walberla::free_surface::GradsMomentsRefillingSweep< LatticeModel_T, FlagField_T > Class Template Reference

#include <PdfRefillingSweep.h>

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

Public Types

using RefillingSweepBase_T = RefillingSweepBase< LatticeModel_T, FlagField_T >
 
using PdfField_T = typename RefillingSweepBase_T::PdfField_T
 
using flag_t = typename RefillingSweepBase_T::flag_t
 
using Stencil_T = typename RefillingSweepBase_T::Stencil_T
 
- Public Types inherited from walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >
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

 GradsMomentsRefillingSweep (const BlockDataID &pdfFieldID, const ConstBlockDataID &flagFieldID, const FlagInfo< FlagField_T > &flagInfo, real_t relaxRate, bool useDataFromGhostLayers)
 
 ~GradsMomentsRefillingSweep () override=default
 
void operator() (IBlock *const block) override
 
Vector3< real_tgetVelocityGradient (stencil::Direction direction, const Cell &cell, const PdfField_T *pdfField, const Vector3< real_t > &avgVelocity, const std::vector< bool > &validStencilIndices)
 
- Public Member Functions inherited from walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >
 RefillingSweepBase (const BlockDataID &pdfFieldID, const ConstBlockDataID &flagFieldID, const FlagInfo< FlagField_T > &flagInfo, bool useDataFromGhostLayers)
 
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)
 

Private Attributes

real_t relaxRate_
 

Additional Inherited Members

- Protected Attributes inherited from walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >
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::GradsMomentsRefillingSweep< LatticeModel_T, FlagField_T >::flag_t = typename RefillingSweepBase_T::flag_t

◆ PdfField_T

template<typename LatticeModel_T , typename FlagField_T >
using walberla::free_surface::GradsMomentsRefillingSweep< LatticeModel_T, FlagField_T >::PdfField_T = typename RefillingSweepBase_T::PdfField_T

◆ RefillingSweepBase_T

◆ Stencil_T

template<typename LatticeModel_T , typename FlagField_T >
using walberla::free_surface::GradsMomentsRefillingSweep< LatticeModel_T, FlagField_T >::Stencil_T = typename RefillingSweepBase_T::Stencil_T

Constructor & Destructor Documentation

◆ GradsMomentsRefillingSweep()

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

◆ ~GradsMomentsRefillingSweep()

template<typename LatticeModel_T , typename FlagField_T >
walberla::free_surface::GradsMomentsRefillingSweep< LatticeModel_T, FlagField_T >::~GradsMomentsRefillingSweep ( )
overridedefault

Member Function Documentation

◆ getVelocityGradient()

template<typename LatticeModel_T , typename FlagField_T >
Vector3< real_t > walberla::free_surface::GradsMomentsRefillingSweep< LatticeModel_T, FlagField_T >::getVelocityGradient ( stencil::Direction  direction,
const Cell cell,
const PdfField_T pdfField,
const Vector3< real_t > &  avgVelocity,
const std::vector< bool > &  validStencilIndices 
)

◆ operator()()

template<typename LatticeModel_T , typename FlagField_T >
void walberla::free_surface::GradsMomentsRefillingSweep< LatticeModel_T, FlagField_T >::operator() ( IBlock *const  block)
overridevirtual

Member Data Documentation

◆ relaxRate_

template<typename LatticeModel_T , typename FlagField_T >
real_t walberla::free_surface::GradsMomentsRefillingSweep< LatticeModel_T, FlagField_T >::relaxRate_
private

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