17 typedef map<const StorageSite*, shared_ptr<ArrayBase> >
ArrayMap;
18 typedef map<const StorageSite*, vector<const StorageSite*>* >
ChildSitesMap;
19 typedef pair<const StorageSite*, const StorageSite*>
EntryIndex;
22 Field(
const string& name);
41 virtual shared_ptr<IContainer>
newCopy()
const;
42 virtual shared_ptr<IContainer>
newClone()
const;
Field & operator=(const Field &oField)
Field(const string &name)
static void syncScatterVectorFields(const StorageSite &site, std::vector< Field * > &dsf)
static void syncGatherVectorFields(const StorageSite &site, std::vector< Field * > &dsf)
bool hasArray(const StorageSite &s) const
vector< const StorageSite * > StorageSiteList
ChildSitesMap _childSitesMap
map< const StorageSite *, vector< const StorageSite * > * > ChildSitesMap
pair< const StorageSite *, const StorageSite * > EntryIndex
virtual shared_ptr< IContainer > newClone() const
static void createSyncGatherArraysVectorFields(const StorageSite &site, Field &field, const size_t numDir)
map< EntryIndex, shared_ptr< ArrayBase > > GhostArrayMap
void removeArray(const StorageSite &)
void syncScatter(const StorageSite &site)
static void syncGatherVectorFieldsLevel1(const StorageSite &site, std::vector< Field * > &dsf)
virtual void copyFrom(const IContainer &a)
static void syncLocalVectorFieldsLevel1(std::vector< Field * > &dsf)
static void createSyncGatherArraysVectorFieldsLevel1(const StorageSite &site, Field &field, const size_t numDir)
const string getName() const
GhostArrayMap _ghostArraysLevel1
void syncGather(const StorageSite &site)
void createSyncGatherArrays(const StorageSite &site)
const ArrayBase & operator[](const StorageSite &) const
GhostArrayMap _ghostArrays
GhostArrayMap & getGhostArrayMapLevel1()
void addArray(const StorageSite &, shared_ptr< ArrayBase > a)
void syncScatterLevel1(const StorageSite &site)
int get_request_size_scatter_level1()
void syncGatherLevel1(const StorageSite &site)
int get_request_size_gather_level1()
static void syncLocalVectorFields(std::vector< Field * > &dsf)
void createSyncGatherArraysLevel1(const StorageSite &site)
GhostArrayMap & getGhostArrayMap()
static void syncScatterVectorFieldsLevel1(const StorageSite &site, std::vector< Field * > &dsf)
ArrayBase & _create(const StorageSite &site)
map< const StorageSite *, shared_ptr< ArrayBase > > ArrayMap
shared_ptr< ArrayBase > getArrayPtr(const StorageSite &)
static int get_request_size_level1(Field &field)
virtual shared_ptr< IContainer > newCopy() const
void removeArrays(const StorageSiteList &sites)