Public Member Functions | Private Attributes | List of all members
oomph::TFace Class Reference

//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// 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...
 
Nodenode1_pt () const
 Access to the first vertex node. More...
 
Nodenode2_pt () const
 Access to the second vertex node. More...
 
Nodenode3_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

NodeNode1_pt
 First vertex node. More...
 
NodeNode2_pt
 Second vertex node. More...
 
NodeNode3_pt
 Third vertex node. More...
 

Detailed Description

//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////

Triangular Face class

Definition at line 55 of file Telements.h.

Constructor & Destructor Documentation

◆ TFace()

oomph::TFace::TFace ( Node node1_pt,
Node node2_pt,
Node node3_pt 
)
inline

Constructor: Pass in the three vertex nodes.

Definition at line 59 of file Telements.h.

References node1_pt(), Node1_pt, node2_pt(), Node2_pt, node3_pt(), and Node3_pt.

Member Function Documentation

◆ get_boundaries_pt()

void oomph::TFace::get_boundaries_pt ( std::set< unsigned > *&  boundaries_pt)
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 178 of file Telements.h.

References oomph::Node::get_boundaries_pt(), Node1_pt, Node2_pt, and Node3_pt.

Referenced by oomph::BrickFromTetMesh< ELEMENT >::build_mesh().

◆ is_boundary_face()

bool oomph::TFace::is_boundary_face ( ) const
inline

Test whether the face is a boundary face, i.e. does it connnect three boundary nodes?

Definition at line 167 of file Telements.h.

References Node1_pt, Node2_pt, and Node3_pt.

Referenced by oomph::BrickFromTetMesh< ELEMENT >::build_mesh().

◆ is_on_boundary()

bool oomph::TFace::is_on_boundary ( ) const
inline

Test whether the face lies on a boundary. Relatively simple test, based on all vertices lying on (some) boundary.

Definition at line 158 of file Telements.h.

References oomph::Node::is_on_boundary(), Node1_pt, Node2_pt, and Node3_pt.

◆ node1_pt()

Node* oomph::TFace::node1_pt ( ) const
inline

Access to the first vertex node.

Definition at line 88 of file Telements.h.

References Node1_pt.

Referenced by operator<(), operator==(), and TFace().

◆ node2_pt()

Node* oomph::TFace::node2_pt ( ) const
inline

Access to the second vertex node.

Definition at line 94 of file Telements.h.

References Node2_pt.

Referenced by operator<(), operator==(), and TFace().

◆ node3_pt()

Node* oomph::TFace::node3_pt ( ) const
inline

Access to the third vertex node.

Definition at line 100 of file Telements.h.

References Node3_pt.

Referenced by operator<(), operator==(), and TFace().

◆ operator<()

bool oomph::TFace::operator< ( const TFace other) const
inline

Less-than operator.

Definition at line 121 of file Telements.h.

References node1_pt(), Node1_pt, node2_pt(), Node2_pt, node3_pt(), and Node3_pt.

◆ operator==()

bool oomph::TFace::operator== ( const TFace other) const
inline

Comparison operator.

Definition at line 106 of file Telements.h.

References node1_pt(), Node1_pt, node2_pt(), Node2_pt, node3_pt(), and Node3_pt.

Member Data Documentation

◆ Node1_pt

Node* oomph::TFace::Node1_pt
private

First vertex node.

Definition at line 205 of file Telements.h.

Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node1_pt(), operator<(), operator==(), and TFace().

◆ Node2_pt

Node* oomph::TFace::Node2_pt
private

Second vertex node.

Definition at line 208 of file Telements.h.

Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node2_pt(), operator<(), operator==(), and TFace().

◆ Node3_pt

Node* oomph::TFace::Node3_pt
private

Third vertex node.

Definition at line 211 of file Telements.h.

Referenced by get_boundaries_pt(), is_boundary_face(), is_on_boundary(), node3_pt(), operator<(), operator==(), and TFace().


The documentation for this class was generated from the following file: