12 #include "../shell/Shell.h"
15 const string&
name,
unsigned int numData )
42 unsigned int n,
bool toGlobal )
const
45 cout <<
"Don't know yet how to copy LocalDataElement to global\n";
108 if ( lastUsedNode > Shell::myNode() )
110 if ( lastUsedNode == Shell::myNode() )
124 if ( lastUsedNode > node )
126 if ( lastUsedNode == node )
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
void resize(unsigned int newNumData)
const unsigned int ALLDATA
Used by ObjId and Eref.
static unsigned int myNode
unsigned int numData() const
Inherited virtual. Returns number of data entries over all nodes.
unsigned int setDataSize(unsigned int numData)
unsigned int startDataIndex(unsigned int node) const
Inherited virtual. Returns start DataIndex on specified node.
static unsigned int numNodes
unsigned int getNumOnNode(unsigned int node) const
Inherited virtual.
static unsigned int myNode()
unsigned int rawIndex(unsigned int dataId) const
Converts dataId to index on current node.
unsigned int localDataStart_
static unsigned int numNodes()
unsigned int numLocalData() const
Defined only in derived classes: unsigned int numData() const;.
LocalDataElement(Id id, const Cinfo *c, const string &name, unsigned int numData=1)