mesh::Face Class Reference

#include <face.h>

Inheritance diagram for mesh::Face:

Inheritance graph
[legend]
Collaboration diagram for mesh::Face:

Collaboration graph
[legend]
List of all members.

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
Pointget_corner (int i) const
id_t get_edge_id (int i) const
Edgeget_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

TetMeshget_mesh () const

Private Attributes

id_t _tets [2]

Detailed Description

Face in the tetrahedral mesh.
Author:
Roman Geus

Definition at line 34 of file face.h.


Constructor & Destructor Documentation

mesh::Face::Face ( id_t  id,
id_t  node0,
id_t  node1,
id_t  node2,
id_t  tet 
)

Face Constructor.

Parameters:
id Id of the Face.
node0 Id of corner 1.
node1 Id of corner 2.
node2 Id of corner 3.
tet Id of the Tet for which the Face is constructed.

Definition at line 29 of file face.cpp.

References _tets, and mesh::ID_NONE.


Member Function Documentation

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().

void mesh::Face::get_tet_ids ( id_t tet_id0,
id_t tet_id1 
) const [inline]

Return ids of tets belonging to face.

Parameters:
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.

Parameters:
tet_id 

Definition at line 82 of file face.h.

References _tets, and mesh::ID_NONE.

Referenced by mesh::TetMesh::insertFace().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Fri Oct 26 13:35:17 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7