walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK > Class Template Reference

#include <GlobalLoadBalancing.h>

Public Types

using CommunicationFunction = std::function< memory_t(const BLOCK *const, const BLOCK *const)>
 

Public Member Functions

 MetisConfiguration (const bool _includeMetis=false, const bool _forceMetis=false, CommunicationFunction _communicationFunction=nullptr, const real_t _maxUbvec=real_c(1.5), const uint_t _iterations=uint_c(10))
 
bool includeMetis () const
 
bool forceMetis () const
 
CommunicationFunction communicationFunction () const
 
real_t maxUbvec () const
 
uint_t iterations () const
 

Private Attributes

const bool includeMetis_
 
const bool forceMetis_
 
CommunicationFunction communicationFunction_
 
const real_t maxUbvec_
 
const uint_t iterations_
 

Member Typedef Documentation

◆ CommunicationFunction

template<typename BLOCK >
using walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::CommunicationFunction = std::function<memory_t (const BLOCK *const, const BLOCK *const)>

Constructor & Destructor Documentation

◆ MetisConfiguration()

template<typename BLOCK >
walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::MetisConfiguration ( const bool  _includeMetis = false,
const bool  _forceMetis = false,
CommunicationFunction  _communicationFunction = nullptr,
const real_t  _maxUbvec = real_c(1.5),
const uint_t  _iterations = uint_c(10) 
)
inline

Member Function Documentation

◆ communicationFunction()

template<typename BLOCK >
CommunicationFunction walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::communicationFunction ( ) const
inline

◆ forceMetis()

template<typename BLOCK >
bool walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::forceMetis ( ) const
inline

◆ includeMetis()

template<typename BLOCK >
bool walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::includeMetis ( ) const
inline

◆ iterations()

template<typename BLOCK >
uint_t walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::iterations ( ) const
inline

◆ maxUbvec()

template<typename BLOCK >
real_t walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::maxUbvec ( ) const
inline

Member Data Documentation

◆ communicationFunction_

template<typename BLOCK >
CommunicationFunction walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::communicationFunction_
private

◆ forceMetis_

template<typename BLOCK >
const bool walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::forceMetis_
private

◆ includeMetis_

template<typename BLOCK >
const bool walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::includeMetis_
private

◆ iterations_

template<typename BLOCK >
const uint_t walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::iterations_
private

◆ maxUbvec_

template<typename BLOCK >
const real_t walberla::blockforest::GlobalLoadBalancing::MetisConfiguration< BLOCK >::maxUbvec_
private

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