5 #ifndef _STORAGESITEMERGER_H_
6 #define _STORAGESITEMERGER_H_
14 class StorageSiteMerger
17 StorageSiteMerger(
int target_proc_id,
const set<int>& group,
const StorageSite& cell_site );
20 shared_ptr<StorageSite> merge();
23 int getSelfCount()
const {
return _mergeSiteSize; }
24 int getGhostCount()
const {
return _mergeSiteGhostSize; }
25 int getCount()
const {
return _mergeSiteSize + _mergeSiteGhostSize; }
28 StorageSiteMerger(
const StorageSiteMerger&);
37 const set<int>& _group;
40 int _mergeSiteGhostSize;
map< const StorageSite *, shared_ptr< Array< int > > > ScatterMap
map< const StorageSite *, shared_ptr< Array< int > > > GatherMap