LAMA
lama::BlockDistributionManager Class Reference

Singleton class to manage replicated distributions (instance on each processor). More...

#include <BlockDistributionManager.hpp>

Inheritance diagram for lama::BlockDistributionManager:

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()

Detailed Description

Singleton class to manage replicated distributions (instance on each processor).


Constructor & Destructor Documentation


Member Function Documentation

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.


Field Documentation

used to force call of init()

std::string lama::DistributionManager::mDistributionType [protected, inherited]

type of distribution managed

Referenced by lama::DistributionManager::~DistributionManager().


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