#include <entity.h>
Inheritance diagram for mesh::Entity:
Public Member Functions | |
Entity (id_t id) | |
id_t | get_id () const |
bool | on_boundary () |
unsigned char | on_symmetry_planes () |
void | set_boundary (bool on_boundary) |
void | set_symmetry_plane (int plane_id) |
Private Attributes | |
id_t | id_ |
unsigned char | bc_info_ |
Definition at line 36 of file entity.h.
mesh::Entity::Entity | ( | id_t | id | ) | [inline] |
id_t mesh::Entity::get_id | ( | ) | const [inline] |
Return numeric id of entity.
Definition at line 47 of file entity.h.
References id_.
Referenced by mesh::Face::get_corner_id(), mesh::Face::get_edge_id(), h5_cartesian_sampling(), and NedelecElement::surface_integral_curl().
bool mesh::Entity::on_boundary | ( | ) | [inline] |
Return true if entity is on boundary
Definition at line 52 of file entity.h.
References bc_info_.
Referenced by NedelecElement2::get_eliminated_dofs(), NedelecElement1::get_eliminated_dofs(), and h5_compute_eigenquality().
unsigned char mesh::Entity::on_symmetry_planes | ( | ) | [inline] |
Return value containing symmetry plane info in the bit 0, bit 1 and bit 2. All higher order bits are zero. Bit i == 1 means that the entity is on symmetry plane i.
Definition at line 58 of file entity.h.
References bc_info_.
Referenced by NedelecElement2::get_eliminated_dofs(), NedelecElement1::get_eliminated_dofs(), and h5_compute_eigenquality().
void mesh::Entity::set_boundary | ( | bool | on_boundary | ) | [inline] |
void mesh::Entity::set_symmetry_plane | ( | int | plane_id | ) | [inline] |
Update boundary information: Entity is locataed on symmetry plane plane_id.
Definition at line 74 of file entity.h.
References bc_info_.
Referenced by mesh::TetMesh::setSymmetryPlaneOnFace().
unsigned char mesh::Entity::bc_info_ [private] |
Boundary information encoded in bits 0-3
Definition at line 88 of file entity.h.
Referenced by on_boundary(), on_symmetry_planes(), set_boundary(), and set_symmetry_plane().
id_t mesh::Entity::id_ [private] |