#include <face.h>
Inheritance diagram for mesh::Face:
Public Member Functions | |
Face (id_t id, id_t node0, id_t node1, id_t node2, id_t tet) | |
id_t | get_corner_id (int i) const |
Point * | get_corner (int i) const |
id_t | get_edge_id (int i) const |
Edge * | get_edge (int i) const |
id_t | get_tet_id () const |
void | get_tet_ids (id_t *tet_id0, id_t *tet_id1) const |
void | set_tet_id (id_t tet_id) |
Protected Member Functions | |
TetMesh * | get_mesh () const |
Private Attributes | |
id_t | _tets [2] |
Definition at line 34 of file face.h.
Point * mesh::Face::get_corner | ( | int | i | ) | const |
Return pointer to Point object for local corner i.
Definition at line 36 of file face.cpp.
References get_corner_id(), get_mesh(), and mesh::TetMesh::get_point().
Referenced by NedelecElement::surface_integral_curl().
Here is the call graph for this function:
id_t mesh::Face::get_corner_id | ( | int | i | ) | const |
Return id of local corner i.
Definition at line 44 of file face.cpp.
References mesh::Tet::get_corner_id(), mesh::Tet::get_face_id(), mesh::Tet::get_face_point_lids(), mesh::Entity::get_id(), get_mesh(), mesh::TetMesh::get_tet(), and get_tet_id().
Referenced by get_corner(), NedelecElement2::get_dof_ids(), mesh::ParallelTetMesh::get_face_corner_gids(), mesh::TetMesh::setBoundaryOnFace(), and mesh::TetMesh::setSymmetryPlaneOnFace().
Here is the call graph for this function:
Edge * mesh::Face::get_edge | ( | int | i | ) | const |
Return pointer Edge object for local edge i.
Definition at line 40 of file face.cpp.
References mesh::TetMesh::get_edge(), get_edge_id(), and get_mesh().
Here is the call graph for this function:
id_t mesh::Face::get_edge_id | ( | int | i | ) | const |
Return id of local edge i.
Definition at line 58 of file face.cpp.
References mesh::Tet::get_edge_id(), mesh::Tet::get_face_edge_lids(), mesh::Tet::get_face_id(), mesh::Entity::get_id(), get_mesh(), mesh::TetMesh::get_tet(), and get_tet_id().
Referenced by get_edge().
Here is the call graph for this function:
TetMesh * mesh::Face::get_mesh | ( | ) | const [protected] |
Return pointer to TetMesh this Tet is part of.
Definition at line 72 of file face.cpp.
References mesh::TetMesh::get_instance().
Referenced by get_corner(), get_corner_id(), get_edge(), and get_edge_id().
Here is the call graph for this function:
id_t mesh::Face::get_tet_id | ( | ) | const [inline] |
Return id of the Tet for which the Face was constructed.
Definition at line 64 of file face.h.
References _tets.
Referenced by get_corner_id(), get_edge_id(), and h5_compute_eigenquality().
Return ids of tets belonging to face.
tet0 | Id of 1st parent tet. | |
tet1 | Id of 2nd parent tet. Possibly ID_NONE if no 2nd parent tet exists. |
Definition at line 72 of file face.h.
References _tets.
Referenced by h5_compute_eigenquality().
void mesh::Face::set_tet_id | ( | id_t | tet_id | ) | [inline] |
Set id of second parent tet.
Remark: The id of the first parent tet is set upon Face construction.
tet_id |
Definition at line 82 of file face.h.
References _tets, and mesh::ID_NONE.
Referenced by mesh::TetMesh::insertFace().
id_t mesh::Face::_tets[2] [private] |
Parent tets (arbitrary order)
Definition at line 93 of file face.h.
Referenced by Face(), get_tet_id(), get_tet_ids(), and set_tet_id().