Public Member Functions | |
Node (int gid, const Point &x, int ownerProc, int label=-1) | |
const Point & | pt () const |
int | localIndex () const |
int | globalIndex () const |
void | setLocalIndex (int localIndex) |
void | addConnectingElement (Element *elem) |
void | addConnectingEdge (Edge *edge) |
int | ownerProc () const |
int | label () const |
Private Attributes | |
int | label_ |
int | localIndex_ |
int | globalIndex_ |
Point | x_ |
Array< Element * > | elements_ |
Array< Edge * > | edges_ |
int | ownerProc_ |
Definition at line 22 of file SundanceRivaraNode.hpp.
Node::Node | ( | int | gid, | |
const Point & | x, | |||
int | ownerProc, | |||
int | label = -1 | |||
) |
Definition at line 10 of file SundanceRivaraNode.cpp.
void Node::addConnectingEdge | ( | Edge * | edge | ) |
Add an edge to the list of edges containing this node
Definition at line 20 of file SundanceRivaraNode.cpp.
References edges_.
void Node::addConnectingElement | ( | Element * | elem | ) |
Add an element to the list of elements containing this node.
Definition at line 15 of file SundanceRivaraNode.cpp.
References elements_.
int Sundance::Rivara::Node::globalIndex | ( | ) | const [inline] |
Return the global index of this node
Definition at line 41 of file SundanceRivaraNode.hpp.
References globalIndex_.
int Sundance::Rivara::Node::label | ( | ) | const [inline] |
Return the label of this node
Definition at line 67 of file SundanceRivaraNode.hpp.
References label_.
int Sundance::Rivara::Node::localIndex | ( | ) | const [inline] |
Return the local index of this node
Definition at line 35 of file SundanceRivaraNode.hpp.
References localIndex_.
int Sundance::Rivara::Node::ownerProc | ( | ) | const [inline] |
Return the rank of the proc that owns this node
Definition at line 61 of file SundanceRivaraNode.hpp.
References ownerProc_.
const Point & Node::pt | ( | ) | const |
Return the spatial position of this node
Definition at line 25 of file SundanceRivaraNode.cpp.
References x_.
void Sundance::Rivara::Node::setLocalIndex | ( | int | localIndex | ) | [inline] |
Set the local index of this node
Definition at line 46 of file SundanceRivaraNode.hpp.
References localIndex_.
Array<Edge*> Sundance::Rivara::Node::edges_ [private] |
Array<Element*> Sundance::Rivara::Node::elements_ [private] |
int Sundance::Rivara::Node::globalIndex_ [private] |
int Sundance::Rivara::Node::label_ [private] |
int Sundance::Rivara::Node::localIndex_ [private] |
Definition at line 72 of file SundanceRivaraNode.hpp.
Referenced by localIndex(), and setLocalIndex().
int Sundance::Rivara::Node::ownerProc_ [private] |
Point Sundance::Rivara::Node::x_ [private] |