walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T > Class Template Reference

#include <PdfRefillingSweep.h>

+ Inheritance diagram for walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >:

Public Types

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

 ExtrapolationRefillingSweep (const BlockDataID &pdfFieldID, const ConstBlockDataID &flagFieldID, const ConstBlockDataID &fillFieldID, const FlagInfo< FlagField_T > &flagInfo, uint_t extrapolationOrder, bool useDataFromGhostLayers)
 
 ~ExtrapolationRefillingSweep () override=default
 
void operator() (IBlock *const block) override
 
- Public Member Functions inherited from walberla::free_surface::ExtrapolationRefillingSweepBase< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >
 ExtrapolationRefillingSweepBase (const BlockDataID &pdfFieldID, const ConstBlockDataID &flagFieldID, const ConstBlockDataID &fillFieldID, const FlagInfo< FlagField_T > &flagInfo, uint_t extrapolationOrder, bool useDataFromGhostLayers)
 
virtual ~ExtrapolationRefillingSweepBase ()=default
 
Vector3< cell_idx_tfindCorrespondingLatticeDirection (const Vector3< real_t > &direction)
 
Vector3< cell_idx_tfindExtrapolationDirection (const Cell &cell, const FlagField_T &flagField, const ScalarField_T &fillField)
 
uint_t getNumberOfExtrapolationCells (const Cell &cell, const FlagField_T &flagField, const PdfField_T &pdfField, const Vector3< cell_idx_t > &extrapolationDirection)
 
std::vector< real_tgetNonEquilibriumPdfsInCell (const Cell &cell, lbm::PdfField< LatticeModel_T > &pdfField)
 
std::vector< real_tgetPdfsInCell (const Cell &cell, lbm::PdfField< LatticeModel_T > &pdfField)
 
void applyQuadraticExtrapolation (const Cell &cell, lbm::PdfField< LatticeModel_T > &pdfField, const Vector3< cell_idx_t > &extrapolationDirection, bool includeThisCell, const std::function< std::vector< real_t >(const Cell &cell, lbm::PdfField< LatticeModel_T > &pdfField) > &getPdfFunc)
 
void applyLinearExtrapolation (const Cell &cell, lbm::PdfField< LatticeModel_T > &pdfField, const Vector3< cell_idx_t > &extrapolationDirection, bool includeThisCell, const std::function< std::vector< real_t >(const Cell &cell, lbm::PdfField< LatticeModel_T > &pdfField) > &getPdfFunc)
 
void applyConstantExtrapolation (const Cell &cell, lbm::PdfField< LatticeModel_T > &pdfField, const Vector3< cell_idx_t > &extrapolationDirection, bool includeThisCell, const std::function< std::vector< real_t >(const Cell &cell, lbm::PdfField< LatticeModel_T > &pdfField) > &getPdfFunc)
 
- 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)
 

Additional Inherited Members

- Protected Attributes inherited from walberla::free_surface::ExtrapolationRefillingSweepBase< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >
ConstBlockDataID fillFieldID_
 
uint_t extrapolationOrder_
 
- Protected Attributes inherited from walberla::free_surface::RefillingSweepBase< LatticeModel_T, FlagField_T >
BlockDataID pdfFieldID_
 
ConstBlockDataID flagFieldID_
 
FlagInfo< FlagField_TflagInfo_
 
bool useDataFromGhostLayers_
 

Member Typedef Documentation

◆ ExtrapolationRefillingSweepBase_T

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
using walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::ExtrapolationRefillingSweepBase_T = ExtrapolationRefillingSweepBase< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >

◆ flag_t

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
using walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::flag_t = typename ExtrapolationRefillingSweepBase_T::flag_t

◆ PdfField_T

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
using walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::PdfField_T = typename ExtrapolationRefillingSweepBase_T::PdfField_T

◆ RefillingSweepBase_T

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
using walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::RefillingSweepBase_T = typename ExtrapolationRefillingSweepBase_T::RefillingSweepBase_T

◆ Stencil_T

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
using walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::Stencil_T = typename ExtrapolationRefillingSweepBase_T::Stencil_T

Constructor & Destructor Documentation

◆ ExtrapolationRefillingSweep()

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::ExtrapolationRefillingSweep ( const BlockDataID pdfFieldID,
const ConstBlockDataID flagFieldID,
const ConstBlockDataID fillFieldID,
const FlagInfo< FlagField_T > &  flagInfo,
uint_t  extrapolationOrder,
bool  useDataFromGhostLayers 
)
inline

◆ ~ExtrapolationRefillingSweep()

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
walberla::free_surface::ExtrapolationRefillingSweep< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::~ExtrapolationRefillingSweep ( )
overridedefault

Member Function Documentation

◆ operator()()

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

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