LAMA
|
00001 00034 #ifndef LAMA_BLOCK_DISTRIBUTION_MANAGER_HPP_ 00035 #define LAMA_BLOCK_DISTRIBUTION_MANAGER_HPP_ 00036 00037 // for dll_import 00038 #include <lama/config.hpp> 00039 00040 // base classes 00041 #include <lama/DistributionManager.hpp> 00042 00043 // others 00044 #include <lama/distribution/BlockDistribution.hpp> 00045 00046 // logging 00047 #include <logging/logging.hpp> 00048 00049 namespace lama 00050 { 00051 00055 class BlockDistributionManager: public DistributionManager 00056 { 00057 00058 public: 00059 00062 virtual DistributionPtr getDistribution( const IndexType size, const std::vector<int>& arguments ); 00063 00064 virtual ~BlockDistributionManager(); 00065 00066 private: 00067 00068 LAMA_LOG_DECL_STATIC_LOGGER( logger ); 00069 00070 static bool __init; 00071 00072 static bool init(); 00073 00074 BlockDistributionManager(); 00075 }; 00076 00077 } 00078 00079 #endif // LAMA_BLOCK_DISTRIBUTION_MANAGER_HPP_