Triangular Face class. More...
#include <Telements.h>
Public Member Functions | |
TFace (Node *node1_pt, Node *node2_pt, Node *node3_pt) | |
Constructor: Pass in the three 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... | |
Node * | node3_pt () const |
Access to the third vertex node. More... | |
bool | operator== (const TFace &other) const |
Comparison operator. More... | |
bool | operator< (const TFace &other) const |
Less-than operator. More... | |
bool | is_on_boundary () const |
Test whether the face lies on a boundary. Relatively simple test, based on all vertices lying on (some) boundary. More... | |
bool | is_boundary_face () const |
Test whether the face is a boundary face, i.e. does it connnect three boundary nodes? More... | |
void | get_boundaries_pt (std::set< unsigned > *&boundaries_pt) |
Access to pointer to set of mesh boundaries that this face occupies; NULL if the node is not on any boundary. Construct via set intersection of the boundary sets for the associated vertex nodes. More... | |
Private Attributes | |
Node * | Node1_pt |
First vertex node. More... | |
Node * | Node2_pt |
Second vertex node. More... | |
Node * | Node3_pt |
Third vertex node. More... | |
Triangular Face class.
Definition at line 63 of file Telements.h.
Constructor: Pass in the three vertex nodes.
Definition at line 69 of file Telements.h.
|
inline |
Access to pointer to set of mesh boundaries that this face occupies; NULL if the node is not on any boundary. Construct via set intersection of the boundary sets for the associated vertex nodes.
Definition at line 183 of file Telements.h.
References oomph::Node::get_boundaries_pt(), Node1_pt, Node2_pt, and Node3_pt.
Referenced by oomph::BrickFromTetMesh< ELEMENT >::build_mesh().
|
inline |
Test whether the face is a boundary face, i.e. does it connnect three boundary nodes?
Definition at line 172 of file Telements.h.
References Node1_pt, Node2_pt, and Node3_pt.
Referenced by oomph::BrickFromTetMesh< ELEMENT >::build_mesh().
|
inline |
Test whether the face lies on a boundary. Relatively simple test, based on all vertices lying on (some) boundary.
Definition at line 162 of file Telements.h.
References oomph::Node::is_on_boundary(), Node1_pt, Node2_pt, and Node3_pt.
|
inline |
Access to the first vertex node.
Definition at line 99 of file Telements.h.
References Node1_pt.
Referenced by operator<(), and operator==().
|
inline |
Access to the second vertex node.
Definition at line 102 of file Telements.h.
References Node2_pt.
Referenced by operator<(), and operator==().
|
inline |
Access to the third vertex node.
Definition at line 105 of file Telements.h.
References Node3_pt.
Referenced by operator<(), and operator==().
|
inline |
Less-than operator.
Definition at line 125 of file Telements.h.
References node1_pt(), Node1_pt, node2_pt(), Node2_pt, node3_pt(), and Node3_pt.
|
inline |
Comparison operator.
Definition at line 108 of file Telements.h.
References node1_pt(), Node1_pt, node2_pt(), Node2_pt, node3_pt(), and Node3_pt.
|
private |
First vertex node.
Definition at line 207 of file Telements.h.
Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node1_pt(), operator<(), operator==(), and TFace().
|
private |
Second vertex node.
Definition at line 210 of file Telements.h.
Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node2_pt(), operator<(), operator==(), and TFace().
|
private |
Third vertex node.
Definition at line 213 of file Telements.h.
Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node3_pt(), operator<(), operator==(), and TFace().