9 #ifndef _LOCAL_DATA_ELEMENT_H
10 #define _LOCAL_DATA_ELEMENT_H
50 bool toGlobal )
const;
63 unsigned int getNode(
unsigned int dataId )
const;
69 unsigned int rawIndex(
unsigned int dataId )
const;
94 void resize(
unsigned int newNumData );
124 #endif // _LOCAL_DATA_ELEMENT_H
unsigned int getNode(unsigned int dataId) const
Inherited virtual. Returns node location of specified object.
unsigned int localDataStart() const
Inherited virtual. Returns index of first entry on this node.
void resize(unsigned int newNumData)
Element * copyElement(Id newParent, Id newId, unsigned int n, bool toGlobal) const
unsigned int numData() const
Inherited virtual. Returns number of data entries over all nodes.
unsigned int setDataSize(unsigned int numData)
bool isGlobal() const
Inherited virtual. Reports if this is Global, which it isn't.
unsigned int startDataIndex(unsigned int node) const
Inherited virtual. Returns start DataIndex on specified node.
unsigned int getNumOnNode(unsigned int node) const
Inherited virtual.
unsigned int rawIndex(unsigned int dataId) const
Converts dataId to index on current node.
unsigned int localDataStart_
LocalDataElement(Id id, const Cinfo *c, const string &name, unsigned int numData=1)