![]() |
|
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 |
| bool | is_boundary_face () const |
| void | get_boundaries_pt (std::set< unsigned > *&boundaries_pt) |
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.
//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
Constructor: Pass in the three vertex nodes.
References node1_pt(), Node1_pt, node2_pt(), Node2_pt, node3_pt(), Node3_pt, OOMPH_CURRENT_FUNCTION, and OOMPH_EXCEPTION_LOCATION.
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
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?
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.
References oomph::Node::is_on_boundary(), Node1_pt, Node2_pt, and Node3_pt.
|
inline |
Access to the first vertex node.
References Node1_pt.
Referenced by operator<(), operator==(), and TFace().
|
inline |
Access to the second vertex node.
References Node2_pt.
Referenced by operator<(), operator==(), and TFace().
|
inline |
Access to the third vertex node.
References Node3_pt.
Referenced by operator<(), operator==(), and TFace().
Less-than operator.
References node1_pt(), Node1_pt, node2_pt(), Node2_pt, node3_pt(), and Node3_pt.
Comparison operator.
References node1_pt(), Node1_pt, node2_pt(), Node2_pt, node3_pt(), and Node3_pt.
|
private |
First vertex node.
Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node1_pt(), operator<(), operator==(), and TFace().
|
private |
Second vertex node.
Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node2_pt(), operator<(), operator==(), and TFace().
|
private |
Third vertex node.
Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node3_pt(), operator<(), operator==(), and TFace().