![]() |
|
#include <tetmesh_faceted_surfaces.h>
Public Member Functions | |
DiskWithTwoLayersTetMeshFacetedSurface (DiskLikeGeomObjectWithBoundaries *disk_parametrised_by_nonsingular_coordinates_pt, const unsigned &half_nsegment, const unsigned &first_one_based_boundary_id_for_disk, const unsigned &one_based_region_id_above_disk, const unsigned &one_based_region_id_below_disk, unsigned &last_one_based_boundary_id_for_disk, unsigned &last_one_based_boundary_id) | |
![]() | |
DiskTetMeshFacetedSurface (DiskLikeGeomObjectWithBoundaries *disk_parametrised_by_nonsingular_coordinates_pt, const unsigned &half_nsegment, const unsigned &first_one_based_boundary_id_for_disk, unsigned &last_one_based_boundary_id_for_disk) | |
~DiskTetMeshFacetedSurface () | |
Destructor. More... | |
void | boundary_zeta01 (const unsigned &facet_id, const double &zeta_boundary, Vector< double > &zeta) |
![]() | |
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 () |
void | output (std::ostream &outfile) const |
Output. More... | |
void | output (const std::string &filename) const |
Output. More... | |
virtual void | boundary_zeta12 (const unsigned &facet_id, const double &zeta_boundary, Vector< double > &zeta) |
virtual void | boundary_zeta20 (const unsigned &facet_id, const double &zeta_boundary, Vector< double > &zeta) |
Vector< unsigned > | vertex_index_in_tetgen (const unsigned &f) |
![]() | |
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) |
unsigned | ninternal_point_for_tetgen () |
const int & | region_id_for_tetgen (const unsigned &j) const |
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... | |
Additional Inherited Members | |
![]() | |
unsigned | Nfacet |
Number of facets. More... | |
std::vector< bool > | Facet_is_on_boundary |
Is facet on boundary? More... | |
Vector< double > | Left_boundary_coordinate |
Left boundary coordinate of i-th facet. More... | |
Vector< double > | Right_boundary_coordinate |
Right boundary coordinate of i-th facet. More... | |
Vector< unsigned > | Boundary_id |
ID of boundary the i-th facet is located on. More... | |
unsigned | Nelement_on_disk_boundary |
Number of elements on disk boundary. More... | |
TriangleMesh< TPoissonElement< 2, 2 > > * | Tri_mesh_pt |
Mesh used to facet-ise (discretise) disk. More... | |
std::map< Node *, TetMeshVertex * > | Equivalent_vertex_pt |
Mapping between nodes and vertices. More... | |
![]() | |
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 |
Vector< Vector< unsigned > > | Facet_vertex_index_in_tetgen |
DiskLikeGeomObjectWithBoundaries * | Geom_object_with_boundaries_pt |
GeomObject with boundaries associated with this surface. More... | |
//////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// TetMeshFacetedClosedSurface that defines disk with two layers on top and bottom
|
inline |
Constructor: Pass pointer to GeomObject (with boundaries, and parametrised by coordinates without coordinate singularities, i.e. not polars, say) that defines the shape of the disk. Other args specify:
Computes:
Identify region for tetgen
References e(), oomph::DiskTetMeshFacetedSurface::Facet_is_on_boundary, oomph::TetMeshFacetedSurface::Facet_pt, j, n, oomph::DiskTetMeshFacetedSurface::Nelement_on_disk_boundary, oomph::DiskTetMeshFacetedSurface::Nfacet, oomph::TetMeshFacetedClosedSurface::set_region_for_tetgen(), and oomph::TetMeshFacetedSurface::Vertex_pt.