21 typedef pair<const Field*, const StorageSite*>
ArrayIndex;
51 virtual shared_ptr<IContainer>
newCopy()
const;
52 virtual shared_ptr<IContainer>
newClone()
const;
63 shared_ptr<MultiFieldReduction>
reduceSum()
const;
64 shared_ptr<MultiFieldReduction>
getOneNorm()
const;
virtual shared_ptr< IContainer > newCopy() const
int get_request_size_scatter_level1()
void createSyncGatherArraysLevel1(const ArrayIndex &i)
map< ArrayIndex, int > ArrayMap
MultiField & saxpy(const MultiFieldReduction &alphaMF, const MultiField &xMF)
bool hasArray(const ArrayIndex &) const
void syncGather(const ArrayIndex &i)
shared_ptr< ArrayBase > getArrayPtr(const ArrayIndex &)
DEFINE_TYPENAME("MultiField")
const ArrayBase & operator[](const int i) const
shared_ptr< MultiField > extract(const ArrayIndexList &indices)
MultiField & msaxpy(const MultiFieldReduction &alphaMF, const MultiField &xMF)
GhostArrayMap _ghostArrays
void syncScatterLevel1(const ArrayIndex &i)
virtual MultiField & operator-=(const MultiField &o)
virtual MultiField & operator/=(const MultiFieldReduction &alpha)
shared_ptr< MultiFieldReduction > reduceSum() const
void syncGatherLevel1(const ArrayIndex &i)
pair< const Field *, const StorageSite * > ArrayIndex
pair< ArrayIndex, ArrayIndex > EntryIndex
map< EntryIndex, shared_ptr< ArrayBase > > GhostArrayMap
vector< shared_ptr< ArrayBase > > ArrayList
virtual void copyFrom(const IContainer &oc)
GhostArrayMap _ghostArraysLevel1
shared_ptr< MultiFieldReduction > getOneNorm() const
void removeArray(const ArrayIndex &aIndex)
vector< ArrayIndex > ArrayIndexList
ArrayBase & operator[](const int i)
ArrayIndexList _arrayIndices
virtual MultiField & operator+=(const MultiField &o)
const ArrayIndexList & getArrayIndices() const
void merge(const MultiField &other)
const ArrayBase & operator[](const ArrayIndex &) const
int get_request_size_gather_level1()
void addArray(const ArrayIndex &aIndex, shared_ptr< ArrayBase > a)
void syncScatter(const ArrayIndex &i)
const ArrayIndex getArrayIndex(const int i) const
void createSyncGatherArrays(const ArrayIndex &i)
shared_ptr< MultiFieldReduction > dotWith(const MultiField &ofield) const
virtual MultiField & operator*=(const MultiFieldReduction &alpha)
virtual shared_ptr< IContainer > newClone() const