1 #ifndef _NodeDatabase_hpp_
2 #define _NodeDatabase_hpp_
bool need_to_alloc_and_sync_
int countLocalNodeDescriptors(int localRank)
std::vector< NodeDescriptor * > nodePtrs_
std::map< GlobalID, int > & getNodeIDs()
int getNodeWithNumber(int nodeNumber, const NodeDescriptor *&node) const
int initNodeID(GlobalID nodeID)
NodeCommMgr * nodeCommMgr_
std::map< GlobalID, int > nodeIDs_
std::vector< int > eqnNumbers_
int getNodeWithEqn(int eqnNumber, const NodeDescriptor *&node) const
int synchronize(int firstLocalNodeNumber, int firstLocalEqn, int localRank, MPI_Comm comm)
NodeDatabase(std::map< int, int > *fieldDatabase, NodeCommMgr *nodeCommMgr)
int getIndexOfID(GlobalID nodeID) const
void getNodeAtIndex(int i, const NodeDescriptor *&node) const
std::vector< int > eqnNodeIndices_
NodeDatabase & operator=(const NodeDatabase &src)
int countLocalNodalEqns(int localRank)
std::map< int, int > * fieldDB_
int getAssociatedFieldID(int eqnNumber)
int firstLocalNodeNumber_
int getAssociatedNodeNumber(int eqnNumber)
int getNumNodeDescriptors() const
int getNodeWithID(GlobalID nodeID, const NodeDescriptor *&node) const
fei_Pool_alloc< NodeDescriptor > nodePool_
std::map< int, int > nodeNumbers_
int initNodeIDs(GlobalID *nodeIDs, int numNodes)