///////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////// More...
#include <tet_mesh.h>
Public Member Functions | |
TetMeshFacetedClosedSurface () | |
Constructor: More... | |
virtual | ~TetMeshFacetedClosedSurface () |
Empty destructor. More... | |
void | enable_faceted_volume_represents_hole_for_gmsh () |
Declare closed surface to represent hole for gmsh. More... | |
void | disable_faceted_volume_represents_hole_for_gmsh () |
Declare closed surface NOT to represent hole for gmsh. More... | |
bool | faceted_volume_represents_hole_for_gmsh () const |
Does closed surface represent hole for gmsh? More... | |
const double & | internal_point_for_tetgen (const unsigned &j, const unsigned &i) const |
i=th coordinate of the j-th internal point for tetgen More... | |
void | set_hole_for_tetgen (const Vector< double > &hole_point) |
Specify coordinate of hole for tetgen. More... | |
void | set_region_for_tetgen (const unsigned ®ion_id, const Vector< double > ®ion_point) |
Specify a region; pass (zero-based) region ID and coordinate of point in region for tetgen. More... | |
unsigned | ninternal_point_for_tetgen () |
Number of internal points (identifying either regions or holes) for tetgen. More... | |
const int & | region_id_for_tetgen (const unsigned &j) const |
Return the (zero-based) region ID of j-th internal point for tetgen. Negative if it's actually a hole. More... | |
bool | internal_point_identifies_hole_for_tetgen (const unsigned &j) |
Is j-th internal point for tetgen associated with a hole? More... | |
bool | internal_point_identifies_region_for_tetgen (const unsigned &j) |
Is j-th internal point for tetgen associated with a region? More... | |
Public Member Functions inherited from oomph::TetMeshFacetedSurface | |
TetMeshFacetedSurface () | |
Constructor: More... | |
virtual | ~TetMeshFacetedSurface () |
Empty destructor. More... | |
unsigned | nvertex () const |
Number of vertices. More... | |
unsigned | nfacet () const |
Number of facets. More... | |
unsigned | one_based_facet_boundary_id (const unsigned &j) const |
One-based boundary id of j-th facet. More... | |
unsigned | one_based_vertex_boundary_id (const unsigned &j) const |
First (of possibly multiple) one-based boundary id of j-th vertex. More... | |
double | vertex_coordinate (const unsigned &j, const unsigned &i) const |
i-th coordinate of j-th vertex More... | |
unsigned | nvertex_on_facet (const unsigned &j) const |
Number of vertices defining the j-th facet. More... | |
bool | boundaries_can_be_split_in_tetgen () |
Test whether boundary can be split in tetgen. More... | |
void | enable_boundaries_can_be_split_in_tetgen () |
Test whether boundaries can be split in tetgen. More... | |
void | disable_boundaries_can_be_split_in_tetgen () |
Test whether boundaries can be split in tetgen. More... | |
TetMeshFacet * | facet_pt (const unsigned &j) const |
Pointer to j-th facet. More... | |
TetMeshVertex * | vertex_pt (const unsigned &j) const |
Pointer to j-th vertex. More... | |
DiskLikeGeomObjectWithBoundaries * | geom_object_with_boundaries_pt () |
Access to GeomObject with boundaries associated with this surface (Null if there isn't one!) More... | |
void | output (std::ostream &outfile) const |
Output. More... | |
void | output (const std::string &filename) const |
Output. More... | |
virtual void | boundary_zeta01 (const unsigned &facet_id, const double &zeta_boundary, Vector< double > &zeta) |
Virtual function that specifies the variation of the zeta coordinates in the GeomObject along the boundary connecting vertices 0 and 1 in facet facet_id. Default implementation: Linear interpolation between edges. zeta_boundary=0.0: we're on vertex 0; zeta_boundary=1.0: we're on vertex 1. More... | |
virtual void | boundary_zeta12 (const unsigned &facet_id, const double &zeta_boundary, Vector< double > &zeta) |
Virtual function that specifies the variation of the zeta coordinates in the GeomObject along the boundary connecting vertices 1 and 2 in facet facet_id. Default implementation: Linear interpolation between edges. zeta_boundary=0.0: we're on vertex 1; zeta_boundary=1.0: we're on vertex 2. More... | |
virtual void | boundary_zeta20 (const unsigned &facet_id, const double &zeta_boundary, Vector< double > &zeta) |
Virtual function that specifies the variation of the zeta coordinates in the GeomObject along the boundary connecting vertices 2 and 0 in facet facet_id. Default implementation: Linear interpolation between edges. zeta_boundary=0.0: we're on vertex 2; zeta_boundary=1.0: we're on vertex 0. More... | |
Vector< unsigned > | vertex_index_in_tetgen (const unsigned &f) |
Facet connectivity: vertex_index[j] is the index of the j-th vertex (in the Vertex_pt vector) in facet f. Bit of an obscure functionality that's only needed for setup tetgen_io. More... | |
Private Attributes | |
Vector< std::pair< Vector< double >, int > > | Internal_point_for_tetgen |
Storage for internal points for tetgen. Stores pair of: – Vector containing coordinates of internal point – region ID (negative if it's a hole) More... | |
bool | Faceted_volume_represents_hole_for_gmsh |
Does closed surface represent hole for gmsh? More... | |
Additional Inherited Members | |
Protected Attributes inherited from oomph::TetMeshFacetedSurface | |
Vector< TetMeshVertex * > | Vertex_pt |
Vector pointers to vertices. More... | |
Vector< TetMeshFacet * > | Facet_pt |
Vector of pointers to facets. More... | |
bool | Boundaries_can_be_split_in_tetgen |
Boolean to indicate whether extra vertices can be added on the boundary in tetgen. More... | |
Vector< Vector< unsigned > > | Facet_vertex_index_in_tetgen |
Facet connectivity: Facet_vertex_index[f][j] is the index of the j-th vertex (in the Vertex_pt vector) in facet f. More... | |
DiskLikeGeomObjectWithBoundaries * | Geom_object_with_boundaries_pt |
GeomObject with boundaries associated with this surface. More... | |
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
Base class for closed tet mesh boundary bounded by polygonal planar facets
Definition at line 537 of file tet_mesh.h.
|
inline |
Constructor:
Definition at line 541 of file tet_mesh.h.
|
inlinevirtual |
Empty destructor.
Definition at line 547 of file tet_mesh.h.
|
inline |
Declare closed surface NOT to represent hole for gmsh.
Definition at line 556 of file tet_mesh.h.
References Faceted_volume_represents_hole_for_gmsh.
|
inline |
Declare closed surface to represent hole for gmsh.
Definition at line 550 of file tet_mesh.h.
References Faceted_volume_represents_hole_for_gmsh.
|
inline |
Does closed surface represent hole for gmsh?
Definition at line 562 of file tet_mesh.h.
References Faceted_volume_represents_hole_for_gmsh.
Referenced by oomph::GmshTetScaffoldMesh::write_geo_file().
|
inline |
i=th coordinate of the j-th internal point for tetgen
Definition at line 568 of file tet_mesh.h.
References i, and Internal_point_for_tetgen.
Referenced by oomph::TetgenMesh< ELEMENT >::build_tetgenio().
|
inline |
Is j-th internal point for tetgen associated with a hole?
Definition at line 605 of file tet_mesh.h.
References Internal_point_for_tetgen.
Referenced by oomph::TetgenMesh< ELEMENT >::build_tetgenio().
|
inline |
Is j-th internal point for tetgen associated with a region?
Definition at line 611 of file tet_mesh.h.
References Internal_point_for_tetgen.
Referenced by oomph::TetgenMesh< ELEMENT >::build_tetgenio(), and oomph::TetgenMesh< ELEMENT >::TetgenMesh().
|
inline |
Number of internal points (identifying either regions or holes) for tetgen.
Definition at line 591 of file tet_mesh.h.
References Internal_point_for_tetgen.
Referenced by oomph::TetgenMesh< ELEMENT >::build_tetgenio(), and oomph::TetgenMesh< ELEMENT >::TetgenMesh().
|
inline |
Return the (zero-based) region ID of j-th internal point for tetgen. Negative if it's actually a hole.
Definition at line 598 of file tet_mesh.h.
References Internal_point_for_tetgen.
Referenced by oomph::TetgenMesh< ELEMENT >::build_tetgenio().
|
inline |
Specify coordinate of hole for tetgen.
Definition at line 575 of file tet_mesh.h.
References Internal_point_for_tetgen.
|
inline |
Specify a region; pass (zero-based) region ID and coordinate of point in region for tetgen.
Definition at line 582 of file tet_mesh.h.
References Internal_point_for_tetgen.
|
private |
Does closed surface represent hole for gmsh?
Definition at line 624 of file tet_mesh.h.
Referenced by disable_faceted_volume_represents_hole_for_gmsh(), enable_faceted_volume_represents_hole_for_gmsh(), and faceted_volume_represents_hole_for_gmsh().
|
private |
Storage for internal points for tetgen. Stores pair of: – Vector containing coordinates of internal point – region ID (negative if it's a hole)
Definition at line 621 of file tet_mesh.h.
Referenced by internal_point_for_tetgen(), internal_point_identifies_hole_for_tetgen(), internal_point_identifies_region_for_tetgen(), ninternal_point_for_tetgen(), region_id_for_tetgen(), set_hole_for_tetgen(), and set_region_for_tetgen().