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_ |
Class Node is a vertex in a simplicial mesh.
Definition at line 64 of file SundanceRivaraNode.hpp.
| Node::Node | ( | int | gid, |
| const Point & | x, | ||
| int | ownerProc, | ||
| int | label = -1 |
||
| ) |
Definition at line 52 of file SundanceRivaraNode.cpp.
| void Node::addConnectingEdge | ( | Edge * | edge | ) |
Add an edge to the list of edges containing this node
Definition at line 62 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 57 of file SundanceRivaraNode.cpp.
References elements_.
| int Sundance::Rivara::Node::globalIndex | ( | ) | const [inline] |
Return the global index of this node
Definition at line 83 of file SundanceRivaraNode.hpp.
References globalIndex_.
| int Sundance::Rivara::Node::label | ( | ) | const [inline] |
Return the label of this node
Definition at line 109 of file SundanceRivaraNode.hpp.
References label_.
| int Sundance::Rivara::Node::localIndex | ( | ) | const [inline] |
Return the local index of this node
Definition at line 77 of file SundanceRivaraNode.hpp.
References localIndex_.
Referenced by setLocalIndex().
| int Sundance::Rivara::Node::ownerProc | ( | ) | const [inline] |
Return the rank of the proc that owns this node
Definition at line 103 of file SundanceRivaraNode.hpp.
References ownerProc_.
Return the spatial position of this node
Definition at line 67 of file SundanceRivaraNode.cpp.
References x_.
| void Sundance::Rivara::Node::setLocalIndex | ( | int | localIndex | ) | [inline] |
Set the local index of this node
Definition at line 88 of file SundanceRivaraNode.hpp.
References localIndex(), and localIndex_.
Array<Edge*> Sundance::Rivara::Node::edges_ [private] |
Definition at line 119 of file SundanceRivaraNode.hpp.
Referenced by addConnectingEdge().
Array<Element*> Sundance::Rivara::Node::elements_ [private] |
Definition at line 118 of file SundanceRivaraNode.hpp.
Referenced by addConnectingElement().
int Sundance::Rivara::Node::globalIndex_ [private] |
Definition at line 115 of file SundanceRivaraNode.hpp.
Referenced by globalIndex().
int Sundance::Rivara::Node::label_ [private] |
Definition at line 113 of file SundanceRivaraNode.hpp.
Referenced by label().
int Sundance::Rivara::Node::localIndex_ [private] |
Definition at line 114 of file SundanceRivaraNode.hpp.
Referenced by localIndex(), and setLocalIndex().
int Sundance::Rivara::Node::ownerProc_ [private] |
Definition at line 121 of file SundanceRivaraNode.hpp.
Referenced by ownerProc().
Point Sundance::Rivara::Node::x_ [private] |
Definition at line 116 of file SundanceRivaraNode.hpp.
Referenced by pt().