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

#include <ExcessMassDistributionSweep.h>

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

Public Types

using ExcessMassDistributionSweepBase_T = ExcessMassDistributionSweepBase< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >
 

Public Member Functions

 ExcessMassDistributionSweepInterfaceWeighted (const ExcessMassDistributionModel &excessMassDistributionModel, BlockDataID fillFieldID, ConstBlockDataID flagFieldID, ConstBlockDataID pdfFieldID, const FlagInfo< FlagField_T > &flagInfo, ConstBlockDataID normalFieldID)
 
 ~ExcessMassDistributionSweepInterfaceWeighted () override=default
 
void operator() (IBlock *const block) override
 
- Public Member Functions inherited from walberla::free_surface::ExcessMassDistributionSweepBase< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >
 ExcessMassDistributionSweepBase (const ExcessMassDistributionModel &excessMassDistributionModel, BlockDataID fillFieldID, ConstBlockDataID flagFieldID, ConstBlockDataID pdfFieldID, const FlagInfo< FlagField_T > &flagInfo)
 
virtual ~ExcessMassDistributionSweepBase ()=default
 

Private Member Functions

template<typename PdfField_T >
void distributeMassWeighted (ScalarField_T *fillField, const FlagField_T *flagField, const PdfField_T *pdfField, const VectorField_T *normalField, const Cell &cell, bool isNewLiquid, real_t excessFill)
 
void getExcessMassWeights (const FlagField_T *flagField, const VectorField_T *normalField, const Cell &cell, bool isNewLiquid, bool useWeightedOld, bool useWeightedAll, bool useWeightedNew, std::vector< real_t > &weights)
 
void computeWeightWithNormal (real_t n_dot_ci, bool isNewLiquid, typename LatticeModel_T::Stencil::iterator dir, std::vector< real_t > &weights)
 

Private Attributes

ConstBlockDataID normalFieldID_
 

Additional Inherited Members

- Protected Member Functions inherited from walberla::free_surface::ExcessMassDistributionSweepBase< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >
void getNumberOfInterfaceNeighbors (const FlagField_T *flagField, const Cell &cell, uint_t &newInterfaceNeighbors, uint_t &interfaceNeighbors)
 
void getNumberOfLiquidAndInterfaceNeighbors (const FlagField_T *flagField, const Cell &cell, uint_t &liquidNeighbors, uint_t &interfaceNeighbors, uint_t &newInterfaceNeighbors)
 
- Protected Attributes inherited from walberla::free_surface::ExcessMassDistributionSweepBase< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >
ExcessMassDistributionModel excessMassDistributionModel_
 
BlockDataID fillFieldID_
 
ConstBlockDataID flagFieldID_
 
ConstBlockDataID pdfFieldID_
 
FlagInfo< FlagField_TflagInfo_
 

Member Typedef Documentation

◆ ExcessMassDistributionSweepBase_T

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
using walberla::free_surface::ExcessMassDistributionSweepInterfaceWeighted< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::ExcessMassDistributionSweepBase_T = ExcessMassDistributionSweepBase< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >

Constructor & Destructor Documentation

◆ ExcessMassDistributionSweepInterfaceWeighted()

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
walberla::free_surface::ExcessMassDistributionSweepInterfaceWeighted< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::ExcessMassDistributionSweepInterfaceWeighted ( const ExcessMassDistributionModel excessMassDistributionModel,
BlockDataID  fillFieldID,
ConstBlockDataID  flagFieldID,
ConstBlockDataID  pdfFieldID,
const FlagInfo< FlagField_T > &  flagInfo,
ConstBlockDataID  normalFieldID 
)
inline

◆ ~ExcessMassDistributionSweepInterfaceWeighted()

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

Member Function Documentation

◆ computeWeightWithNormal()

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
void walberla::free_surface::ExcessMassDistributionSweepInterfaceWeighted< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::computeWeightWithNormal ( real_t  n_dot_ci,
bool  isNewLiquid,
typename LatticeModel_T::Stencil::iterator  dir,
std::vector< real_t > &  weights 
)
private

◆ distributeMassWeighted()

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
template<typename PdfField_T >
void walberla::free_surface::ExcessMassDistributionSweepInterfaceWeighted< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::distributeMassWeighted ( ScalarField_T *  fillField,
const FlagField_T flagField,
const PdfField_T pdfField,
const VectorField_T normalField,
const Cell cell,
bool  isNewLiquid,
real_t  excessFill 
)
private

◆ getExcessMassWeights()

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
void walberla::free_surface::ExcessMassDistributionSweepInterfaceWeighted< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::getExcessMassWeights ( const FlagField_T flagField,
const VectorField_T normalField,
const Cell cell,
bool  isNewLiquid,
bool  useWeightedOld,
bool  useWeightedAll,
bool  useWeightedNew,
std::vector< real_t > &  weights 
)
private

◆ operator()()

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

Member Data Documentation

◆ normalFieldID_

template<typename LatticeModel_T , typename FlagField_T , typename ScalarField_T , typename VectorField_T >
ConstBlockDataID walberla::free_surface::ExcessMassDistributionSweepInterfaceWeighted< LatticeModel_T, FlagField_T, ScalarField_T, VectorField_T >::normalFieldID_
private

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