
Public Member Functions | |
| Edge (const RCP< Node > &a, const RCP< Node > &b) | |
| void | addConnectingElement (Element *elem) | 
| double | length () const | 
| void | getUnrefinedCofacets (Array< Element * > &elements) const | 
| RCP< Node > | bisect (RivaraMesh *mesh) | 
| const RCP< Node > & | node (int i) const | 
| int | ownerProc () const | 
| int | globalIndex () const | 
| void | setGlobalIndex (int globalIndex) | 
| void | setLabel (int label) | 
| int | label () const | 
Private Attributes | |
| int | label_ | 
| Array< RCP< Node > > | nodes_ | 
| Array< Element * > | elements_ | 
| RCP< Node > | midpoint_ | 
| int | ownerProc_ | 
Definition at line 24 of file SundanceRivaraEdge.hpp.
Construct with two nodes
Definition at line 11 of file SundanceRivaraEdge.cpp.
References ownerProc_.
| void Edge::addConnectingElement | ( | Element * | elem | ) | 
Add an element to the list of elements containing this edge
Definition at line 26 of file SundanceRivaraEdge.cpp.
References elements_.
| RCP< Node > Edge::bisect | ( | RivaraMesh * | mesh | ) | 
Bisect the edge.
Definition at line 47 of file SundanceRivaraEdge.cpp.
References Sundance::Rivara::RivaraMesh::addNode(), label_, midpoint_, Sundance::Rivara::RivaraMesh::nextGID(), nodes_, ownerProc_, Sundance::Rivara::TreeNode::setChildren(), and Sundance::Rivara::RivaraMesh::tryEdge().
| void Edge::getUnrefinedCofacets | ( | Array< Element * > & | elements | ) | const | 
Return a list of the cofacets of this edge that still need refinement
Definition at line 39 of file SundanceRivaraEdge.cpp.
References elements_, and Sundance::Rivara::TreeNode::hasChildren().
| int Sundance::Rivara::Edge::globalIndex | ( | ) | const | 
Return the global index of this edge
| int Sundance::Rivara::Edge::label | ( | ) |  const [inline] | 
        
| double Edge::length | ( | ) | const | 
Return the length of the edge.
Definition at line 31 of file SundanceRivaraEdge.cpp.
References nodes_.
| const RCP<Node>& Sundance::Rivara::Edge::node | ( | int | i | ) |  const [inline] | 
        
| int Sundance::Rivara::Edge::ownerProc | ( | ) |  const [inline] | 
        
| void Sundance::Rivara::Edge::setGlobalIndex | ( | int | globalIndex | ) | 
Set the global index of this edge
| void Sundance::Rivara::Edge::setLabel | ( | int | label | ) |  [inline] | 
        
Array<Element*> Sundance::Rivara::Edge::elements_ [private]           | 
        
Definition at line 81 of file SundanceRivaraEdge.hpp.
Referenced by addConnectingElement(), and getUnrefinedCofacets().
int Sundance::Rivara::Edge::label_ [private]           | 
        
Definition at line 79 of file SundanceRivaraEdge.hpp.
Referenced by bisect(), label(), and setLabel().
RCP<Node> Sundance::Rivara::Edge::midpoint_ [private]           | 
        
Array<RCP<Node> > Sundance::Rivara::Edge::nodes_ [private]           | 
        
int Sundance::Rivara::Edge::ownerProc_ [private]           | 
        
Definition at line 85 of file SundanceRivaraEdge.hpp.
Referenced by bisect(), Edge(), and ownerProc().