walberla::lbm_mesapd_coupling::amr::MetisAssignmentFunctor Class Reference

#include <MetisAssignmentFunctor.h>

Public Types

using WeightEvaluationFct = std::function< real_t(const PhantomBlock *)>
 

Public Member Functions

 MetisAssignmentFunctor (const WeightEvaluationFct &weightEvaluationFct)
 
 MetisAssignmentFunctor (const std::vector< WeightEvaluationFct > &weightEvaluationFctVector)
 
void operator() (std::vector< std::pair< const PhantomBlock *, walberla::any > > &blockData, const PhantomBlockForest &phantomBlockForest)
 
uint_t getNumberOfConstrains () const
 
void setBlockBaseWeight (const real_t blockBaseWeight)
 
real_t getBlockBaseWeight () const
 
void setWeightMultiplicator (const real_t weightMultiplicator)
 

Private Attributes

std::vector< WeightEvaluationFctweightEvaluationFctVector_
 
real_t blockBaseWeight_ = real_t(1)
 
real_t weightMultiplicator_ = real_t(1)
 

Member Typedef Documentation

◆ WeightEvaluationFct

Constructor & Destructor Documentation

◆ MetisAssignmentFunctor() [1/2]

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

◆ MetisAssignmentFunctor() [2/2]

walberla::lbm_mesapd_coupling::amr::MetisAssignmentFunctor::MetisAssignmentFunctor ( const std::vector< WeightEvaluationFct > &  weightEvaluationFctVector)
inlineexplicit

Member Function Documentation

◆ getBlockBaseWeight()

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

◆ getNumberOfConstrains()

uint_t walberla::lbm_mesapd_coupling::amr::MetisAssignmentFunctor::getNumberOfConstrains ( ) const
inline

◆ operator()()

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

◆ setBlockBaseWeight()

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

◆ setWeightMultiplicator()

void walberla::lbm_mesapd_coupling::amr::MetisAssignmentFunctor::setWeightMultiplicator ( const real_t  weightMultiplicator)
inline

Member Data Documentation

◆ blockBaseWeight_

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

◆ weightEvaluationFctVector_

std::vector< WeightEvaluationFct > walberla::lbm_mesapd_coupling::amr::MetisAssignmentFunctor::weightEvaluationFctVector_
private

◆ weightMultiplicator_

real_t walberla::lbm_mesapd_coupling::amr::MetisAssignmentFunctor::weightMultiplicator_ = real_t(1)
private

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