![]() |
|
Edge class. More...
#include <mesh.h>
Public Member Functions | |
Edge (Node *node1_pt, Node *node2_pt) | |
Constructor: Pass in the two vertex nodes. More... | |
Node * | node1_pt () const |
Access to the first vertex node. More... | |
Node * | node2_pt () const |
Access to the second vertex node. More... | |
bool | operator== (const Edge &other) const |
Comparison operator. More... | |
bool | operator< (const Edge &other) const |
Less-than operator. More... | |
bool | is_on_boundary () const |
bool | is_boundary_edge () const |
Private Attributes | |
Node * | Node1_pt |
First vertex node. More... | |
Node * | Node2_pt |
Second vertex node. More... | |
Edge class.
//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
Constructor: Pass in the two vertex nodes.
References node1_pt(), Node1_pt, node2_pt(), Node2_pt, OOMPH_CURRENT_FUNCTION, and OOMPH_EXCEPTION_LOCATION.
|
inline |
Test whether the Edge is a boundary edge, i.e. does it connnect two boundary nodes?
References Node1_pt, and Node2_pt.
Referenced by oomph::BrickFromTetMesh< ELEMENT >::build_mesh().
|
inline |
Test whether the Edge lies on a boundary. Relatively simple test, based on both vertices lying on (some) boundary.
References oomph::Node::is_on_boundary(), Node1_pt, and Node2_pt.
|
inline |
Access to the first vertex node.
References Node1_pt.
Referenced by Edge(), operator<(), operator==(), and oomph::ThinLayerBrickOnTetMesh< ELEMENT >::ThinLayerBrickOnTetMesh().
|
inline |
Access to the second vertex node.
References Node2_pt.
Referenced by Edge(), operator<(), operator==(), and oomph::ThinLayerBrickOnTetMesh< ELEMENT >::ThinLayerBrickOnTetMesh().
|
private |
First vertex node.
Referenced by Edge(), is_boundary_edge(), is_on_boundary(), node1_pt(), operator<(), and operator==().
|
private |
Second vertex node.
Referenced by Edge(), is_boundary_edge(), is_on_boundary(), node2_pt(), operator<(), and operator==().