![]() |
|
#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) |
void | set_one_based_adjacent_region_id (const unsigned &one_based_id) |
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 |
unsigned | One_based_region_id_that_facet_is_embedded_in |
///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// Facet for Tet mesh generation. Can lie on boundary (identified via one-based enumeration!) and can have GeomObject associated with those boundaries.
|
inline |
Constructor: Specify number of vertices.
|
inline |
Boolean indicating that facet is embedded in a specified region.
References One_based_region_id_that_facet_is_embedded_in.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Number of vertices.
References Vertex_pt.
Referenced by oomph::TetMeshBase::setup_boundary_coordinates(), oomph::TetMeshBase::snap_nodes_onto_geometric_objects(), TetMeshFacet(), and oomph::GmshTetScaffoldMesh::write_geo_file().
Return set of (one-based!) region IDs this facet is adjacent to.
References One_based_adjacent_region_id.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
Constant access to (one-based!) boundary IDs this facet lives on.
References One_based_boundary_id.
|
inline |
Which (one-based) region is facet embedded in (if zero, it's not embedded in any region)
References One_based_region_id_that_facet_is_embedded_in.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
|
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.
References One_based_adjacent_region_id.
|
inline |
Set (one-based!) boundary IDs this facet lives on. Passed to any existing vertices and to any future ones
References j, One_based_boundary_id, oomph::TetMeshVertex::set_one_based_boundary_id(), and Vertex_pt.
|
inline |
Facet is to be embedded in specified one-based region.
References One_based_region_id_that_facet_is_embedded_in.
|
inline |
Set pointer to j-th vertex and pass one-based boundary id that may already have been set for this facet.
References j, One_based_boundary_id, oomph::TetMeshVertex::set_one_based_boundary_id(), vertex_pt(), and Vertex_pt.
Referenced by oomph::DiskWithTorusAroundEdgeTetMeshFacetedSurface::DiskWithTorusAroundEdgeTetMeshFacetedSurface().
|
inline |
Pointer to j-th vertex (const)
Referenced by set_vertex_pt(), oomph::TetMeshBase::setup_boundary_coordinates(), oomph::TetMeshBase::snap_nodes_onto_geometric_objects(), and oomph::GmshTetScaffoldMesh::write_geo_file().
Set of one-based adjacent region ids; no adjacent region if it's zero.
Referenced by one_based_adjacent_region_id(), and set_one_based_adjacent_region_id().
|
private |
(One-based!) boundary IDs this facet lives on
Referenced by one_based_boundary_id(), output(), set_one_based_boundary_id(), and set_vertex_pt().
|
private |
Facet is to be embedded in specified one-based region. Defaults to zero, indicating that its not embedded.
Referenced by facet_is_embedded_in_a_specified_region(), one_based_region_that_facet_is_embedded_in(), and set_one_based_region_that_facet_is_embedded_in().
|
private |
Pointer to vertices.
Referenced by nvertex(), output(), set_one_based_boundary_id(), set_vertex_pt(), TetMeshFacet(), and vertex_pt().