![]() |
|
TetMeshFacetedSurface that defines disk. More...
#include <tetmesh_faceted_surfaces.h>
Public Member Functions | |
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) |
Protected Attributes | |
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... | |
TetMeshFacetedSurface that defines disk.
////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
|
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 half the number of segments on perimeter of disk and first one-based boundary ID to be used to enumerate the boundaries on the disk. Returns last one-based boundary id used to enumerate the disk
References oomph::TriangleMeshParameters::add_region_coordinates(), b, Boundary_id, e(), oomph::TriangleMeshParameters::element_area(), Equivalent_vertex_pt, Facet_is_on_boundary, oomph::TetMeshFacetedSurface::Facet_pt, oomph::TetMeshFacetedSurface::Geom_object_with_boundaries_pt, oomph::Node::get_coordinates_on_boundary(), oomph::TriangleMeshParameters::internal_closed_curve_pt(), oomph::Node::is_on_boundary(), j, Left_boundary_coordinate, oomph::DiskLikeGeomObjectWithBoundaries::nboundary(), Nelement_on_disk_boundary, Nfacet, oomph::FiniteElement::node_pt(), OOMPH_CURRENT_FUNCTION, OOMPH_EXCEPTION_LOCATION, oomph::MathematicalConstants::Pi, oomph::GeomObject::position(), oomph::Node::position(), Eigen::bfloat16_impl::pow(), UniformPSDSelfTest::r, Right_boundary_coordinate, sqrt(), Tri_mesh_pt, oomph::TetMeshFacetedSurface::Vertex_pt, Eigen::zeta(), and oomph::DiskLikeGeomObjectWithBoundaries::zeta_in_region().
|
inline |
|
inlinevirtual |
Function that specifies the variation of the zeta coordinates in the GeomObject along the boundary connecting vertices 0 and 1 in the facet. NOTE: input zeta_boundary ranges between 0 and 1; gets mapped to actual boundary coordinate inside!
Reimplemented from oomph::TetMeshFacetedSurface.
References b, Boundary_id, Facet_is_on_boundary, oomph::TetMeshFacetedSurface::Facet_pt, oomph::TetMeshFacetedSurface::Geom_object_with_boundaries_pt, Left_boundary_coordinate, Right_boundary_coordinate, oomph::TetMeshFacetedSurface::vertex_pt(), Eigen::zeta(), oomph::TetMeshVertex::zeta_in_geom_object(), and oomph::DiskLikeGeomObjectWithBoundaries::zeta_on_boundary().
ID of boundary the i-th facet is located on.
Referenced by boundary_zeta01(), and DiskTetMeshFacetedSurface().
|
protected |
Mapping between nodes and vertices.
Referenced by DiskTetMeshFacetedSurface(), and oomph::DiskWithTorusAroundEdgeTetMeshFacetedSurface::DiskWithTorusAroundEdgeTetMeshFacetedSurface().
|
protected |
Is facet on boundary?
Referenced by boundary_zeta01(), DiskTetMeshFacetedSurface(), and oomph::DiskWithTwoLayersTetMeshFacetedSurface::DiskWithTwoLayersTetMeshFacetedSurface().
Left boundary coordinate of i-th facet.
Referenced by boundary_zeta01(), and DiskTetMeshFacetedSurface().
|
protected |
Number of elements on disk boundary.
Referenced by DiskTetMeshFacetedSurface(), and oomph::DiskWithTwoLayersTetMeshFacetedSurface::DiskWithTwoLayersTetMeshFacetedSurface().
|
protected |
Right boundary coordinate of i-th facet.
Referenced by boundary_zeta01(), and DiskTetMeshFacetedSurface().
|
protected |
Mesh used to facet-ise (discretise) disk.
Referenced by DiskTetMeshFacetedSurface(), oomph::DiskWithTorusAroundEdgeTetMeshFacetedSurface::DiskWithTorusAroundEdgeTetMeshFacetedSurface(), and ~DiskTetMeshFacetedSurface().