9 #ifndef _GLOBAL_DATA_ELEMENT_H
10 #define _GLOBAL_DATA_ELEMENT_H
53 bool toGlobal )
const;
77 unsigned int rawIndex(
unsigned int dataId )
const;
97 #endif // _GLOBAL_DATA_ELEMENT_H
Element * copyElement(Id newParent, Id newId, unsigned int n, bool toGlobal) const
unsigned int localDataStart() const
Inherited virtual. Returns index of first entry on this node.
GlobalDataElement(Id id, const Cinfo *c, const string &name, unsigned int numData=1)
unsigned int getNode(unsigned int dataIndex) const
Inherited virtual. Returns node location of specified object.
unsigned int numData() const
Inherited virtual. Returns number of data entries.
unsigned int startDataIndex(unsigned int node) const
Inherited virtual. Returns start dataIndex on specified node.
bool isGlobal() const
True if there is a copy of every dataEntry on all nodes.
unsigned int getNumOnNode(unsigned int node) const
Inherited virtual.
unsigned int rawIndex(unsigned int dataId) const
Converts dataId to index on current node.