LAMA
|
Singleton class to manage replicated distributions (instance on each processor). More...
#include <BlockDistributionManager.hpp>
Public Member Functions | |
virtual DistributionPtr | getDistribution (const IndexType size, const std::vector< int > &arguments) |
Provide implementation for the abstract routine of class DistributionManager. | |
virtual | ~BlockDistributionManager () |
Protected Attributes | |
std::string | mDistributionType |
type of distribution managed | |
Private Member Functions | |
LAMA_LOG_DECL_STATIC_LOGGER (logger) | |
BlockDistributionManager () | |
Static Private Member Functions | |
static bool | init () |
create an instance that is added to distribution factory | |
Static Private Attributes | |
static bool | __init = BlockDistributionManager::init() |
used to force call of init() |
Singleton class to manage replicated distributions (instance on each processor).
lama::BlockDistributionManager::BlockDistributionManager | ( | ) | [private] |
DistributionPtr lama::BlockDistributionManager::getDistribution | ( | const IndexType | size, |
const std::vector< int > & | arguments | ||
) | [virtual] |
Provide implementation for the abstract routine of class DistributionManager.
Implements lama::DistributionManager.
References lama::CommunicatorFactory::get().
bool lama::BlockDistributionManager::init | ( | ) | [static, private] |
create an instance that is added to distribution factory
References DISTRIBUTION_TYPE.
lama::BlockDistributionManager::LAMA_LOG_DECL_STATIC_LOGGER | ( | logger | ) | [private] |
Reimplemented from lama::DistributionManager.
bool lama::BlockDistributionManager::__init = BlockDistributionManager::init() [static, private] |
used to force call of init()
std::string lama::DistributionManager::mDistributionType [protected, inherited] |
type of distribution managed
Referenced by lama::DistributionManager::~DistributionManager().