#include <tet_mesh.h>
Public Member Functions | |
TetMeshFacet (const unsigned &nvertex) | |
Constructor: Specify number of vertices. More... | |
unsigned | nvertex () const |
Number of vertices. More... | |
TetMeshVertex * | vertex_pt (const unsigned &j) const |
Pointer to j-th vertex (const) More... | |
void | set_vertex_pt (const unsigned &j, TetMeshVertex *vertex_pt) |
unsigned | one_based_boundary_id () const |
Constant access to (one-based!) boundary IDs this facet lives on. More... | |
void | set_one_based_boundary_id (const unsigned &one_based_id) |
Set (one-based!) boundary IDs this facet lives on. Passed to any existing vertices and to any future ones. More... | |
void | set_one_based_adjacent_region_id (const unsigned &one_based_id) |
Set (one-based!) region ID this facet is adjacent to. Specification of zero argument is harmless as it indicates that that facet is not adjacent to any region. More... | |
std::set< unsigned > | one_based_adjacent_region_id () const |
Return set of (one-based!) region IDs this facet is adjacent to. More... | |
bool | facet_is_embedded_in_a_specified_region () |
Boolean indicating that facet is embedded in a specified region. More... | |
void | set_one_based_region_that_facet_is_embedded_in (const unsigned &one_based_region_id) |
Facet is to be embedded in specified one-based region. More... | |
unsigned | one_based_region_that_facet_is_embedded_in () |
void | output (std::ostream &outfile) const |
Output. More... | |
Private Attributes | |
Vector< TetMeshVertex * > | Vertex_pt |
Pointer to vertices. More... | |
unsigned | One_based_boundary_id |
(One-based!) boundary IDs this facet lives on More... | |
std::set< unsigned > | One_based_adjacent_region_id |
Set of one-based adjacent region ids; no adjacent region if it's zero. More... | |
unsigned | One_based_region_id_that_facet_is_embedded_in |
Facet is to be embedded in specified one-based region. Defaults to zero, indicating that its not embedded. More... | |
Facet for Tet mesh generation. Can lie on boundary (identified via one-based enumeration!) and can have GeomObject associated with those boundaries.
Definition at line 157 of file tet_mesh.h.
|
inline |
Constructor: Specify number of vertices.
Definition at line 162 of file tet_mesh.h.
|
inline |
Boolean indicating that facet is embedded in a specified region.
Definition at line 233 of file tet_mesh.h.
|
inline |
Number of vertices.
Definition at line 171 of file tet_mesh.h.
Referenced by oomph::TetMeshBase::setup_boundary_coordinates(), oomph::TetMeshBase::snap_nodes_onto_geometric_objects(), and oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Return set of (one-based!) region IDs this facet is adjacent to.
Definition at line 227 of file tet_mesh.h.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Constant access to (one-based!) boundary IDs this facet lives on.
Definition at line 197 of file tet_mesh.h.
References oomph::TetMeshVertex::One_based_boundary_id.
|
inline |
Which (one-based) region is facet embedded in (if zero, it's not embedded in any region)
Definition at line 247 of file tet_mesh.h.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Output.
Definition at line 253 of file tet_mesh.h.
References oomph::TetMeshVertex::One_based_boundary_id.
|
inline |
Set (one-based!) region ID this facet is adjacent to. Specification of zero argument is harmless as it indicates that that facet is not adjacent to any region.
Definition at line 221 of file tet_mesh.h.
|
inline |
Set (one-based!) boundary IDs this facet lives on. Passed to any existing vertices and to any future ones.
Definition at line 204 of file tet_mesh.h.
References oomph::TetMeshVertex::One_based_boundary_id, and oomph::TetMeshVertex::set_one_based_boundary_id().
|
inline |
Facet is to be embedded in specified one-based region.
Definition at line 239 of file tet_mesh.h.
|
inline |
Set pointer to j-th vertex and pass one-based boundary id that may already have been set for this facet.
Definition at line 184 of file tet_mesh.h.
References oomph::TetMeshVertex::One_based_boundary_id, and oomph::TetMeshVertex::set_one_based_boundary_id().
|
inline |
Pointer to j-th vertex (const)
Definition at line 177 of file tet_mesh.h.
Referenced by oomph::TetMeshBase::setup_boundary_coordinates(), oomph::TetMeshBase::snap_nodes_onto_geometric_objects(), and oomph::GmshTetScaffoldMesh::write_geo_file().
|
private |
Set of one-based adjacent region ids; no adjacent region if it's zero.
Definition at line 282 of file tet_mesh.h.
|
private |
(One-based!) boundary IDs this facet lives on
Definition at line 278 of file tet_mesh.h.
|
private |
Facet is to be embedded in specified one-based region. Defaults to zero, indicating that its not embedded.
Definition at line 287 of file tet_mesh.h.
|
private |
Pointer to vertices.
Definition at line 275 of file tet_mesh.h.