walberla::lbm_mesapd_coupling::amr::WeightAssignmentFunctor Class Reference

#include <WeightAssignmentFunctor.h>

Public Types

using PhantomBlockWeight = walberla::blockforest::PODPhantomWeight< double >
 
using WeightEvaluationFct = std::function< real_t(const PhantomBlock *)>
 

Public Member Functions

 WeightAssignmentFunctor (const WeightEvaluationFct &weightEvaluationFct)
 
void operator() (std::vector< std::pair< const PhantomBlock *, walberla::any > > &blockData, const PhantomBlockForest &)
 
void setBlockBaseWeight (const real_t blockBaseWeight)
 
real_t getBlockBaseWeight () const
 

Private Attributes

WeightEvaluationFct weightEvaluationFct_
 
real_t blockBaseWeight_ = real_t(1)
 

Member Typedef Documentation

◆ PhantomBlockWeight

◆ WeightEvaluationFct

Constructor & Destructor Documentation

◆ WeightAssignmentFunctor()

walberla::lbm_mesapd_coupling::amr::WeightAssignmentFunctor::WeightAssignmentFunctor ( const WeightEvaluationFct weightEvaluationFct)
inlineexplicit

Member Function Documentation

◆ getBlockBaseWeight()

real_t walberla::lbm_mesapd_coupling::amr::WeightAssignmentFunctor::getBlockBaseWeight ( ) const
inline

◆ operator()()

void walberla::lbm_mesapd_coupling::amr::WeightAssignmentFunctor::operator() ( std::vector< std::pair< const PhantomBlock *, walberla::any > > &  blockData,
const PhantomBlockForest  
)
inline

◆ setBlockBaseWeight()

void walberla::lbm_mesapd_coupling::amr::WeightAssignmentFunctor::setBlockBaseWeight ( const real_t  blockBaseWeight)
inline

Member Data Documentation

◆ blockBaseWeight_

real_t walberla::lbm_mesapd_coupling::amr::WeightAssignmentFunctor::blockBaseWeight_ = real_t(1)
private

◆ weightEvaluationFct_

WeightEvaluationFct walberla::lbm_mesapd_coupling::amr::WeightAssignmentFunctor::weightEvaluationFct_
private

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