Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
oomph::TetMeshVertex Class Reference

Vertex for Tet mesh generation. Can lie on multiple boundaries (identified via one-based enumeration!) and can have intrinisic coordinates in a DiskLikeGeomObjectWithBoundaries. More...

#include <tet_mesh.h>

Public Member Functions

 TetMeshVertex (const Vector< double > &x)
 Constructor: Pass coordinates (length 3!) More...
 
 TetMeshVertex (Node *const &node_pt)
 
void set_zeta_in_geom_object (const Vector< double > &zeta)
 Set intrinisic coordinates in GeomObject. More...
 
Vector< double > zeta_in_geom_object () const
 Get intrinisic coordinates in GeomObject (returns zero sized vector if no such coordinates have been specified) More...
 
double x (const unsigned &i) const
 i-th coordinate More...
 
unsigned one_based_boundary_id () const
 First (of possibly multiple) one-based boundary id. More...
 

Private Member Functions

void set_one_based_boundary_id (const unsigned &id)
 Set of (one-based!) boundary IDs this vertex lives on. More...
 

Private Attributes

Vector< double > X
 Coordinate vector. More...
 
std::set< unsigned > One_based_boundary_id
 Set of (one-based!) boundary IDs this vertex lives on. More...
 
Vector< double > Zeta_in_geom_object
 Intrinisic coordinates in GeomObject (zero sized if there isn't one. More...
 

Friends

class TetMeshFacet
 Only friends can set boundary ID – the facet is my only friend! More...
 

Detailed Description

Vertex for Tet mesh generation. Can lie on multiple boundaries (identified via one-based enumeration!) and can have intrinisic coordinates in a DiskLikeGeomObjectWithBoundaries.

Definition at line 49 of file tet_mesh.h.

Constructor & Destructor Documentation

◆ TetMeshVertex() [1/2]

oomph::TetMeshVertex::TetMeshVertex ( const Vector< double > &  x)
inline

Constructor: Pass coordinates (length 3!)

Definition at line 56 of file tet_mesh.h.

References x(), and X.

◆ TetMeshVertex() [2/2]

oomph::TetMeshVertex::TetMeshVertex ( Node *const &  node_pt)
inline

Definition at line 72 of file tet_mesh.h.

References i, oomph::Node::ndim(), oomph::Node::x(), and X.

Member Function Documentation

◆ one_based_boundary_id()

unsigned oomph::TetMeshVertex::one_based_boundary_id ( ) const
inline

First (of possibly multiple) one-based boundary id.

Definition at line 130 of file tet_mesh.h.

References One_based_boundary_id.

◆ set_one_based_boundary_id()

void oomph::TetMeshVertex::set_one_based_boundary_id ( const unsigned &  id)
inlineprivate

Set of (one-based!) boundary IDs this vertex lives on.

Definition at line 141 of file tet_mesh.h.

References One_based_boundary_id.

Referenced by oomph::TetMeshFacet::set_one_based_boundary_id(), and oomph::TetMeshFacet::set_vertex_pt().

◆ set_zeta_in_geom_object()

void oomph::TetMeshVertex::set_zeta_in_geom_object ( const Vector< double > &  zeta)
inline

Set intrinisic coordinates in GeomObject.

Definition at line 97 of file tet_mesh.h.

References Zeta_in_geom_object.

◆ x()

double oomph::TetMeshVertex::x ( const unsigned &  i) const
inline

i-th coordinate

Definition at line 124 of file tet_mesh.h.

References i, and X.

Referenced by oomph::TetMeshBase::setup_boundary_coordinates(), TetMeshVertex(), and oomph::GmshTetScaffoldMesh::write_geo_file().

◆ zeta_in_geom_object()

Vector<double> oomph::TetMeshVertex::zeta_in_geom_object ( ) const
inline

Get intrinisic coordinates in GeomObject (returns zero sized vector if no such coordinates have been specified)

Definition at line 118 of file tet_mesh.h.

References Zeta_in_geom_object.

Referenced by oomph::TetMeshBase::snap_nodes_onto_geometric_objects().

Friends And Related Function Documentation

◆ TetMeshFacet

friend class TetMeshFacet
friend

Only friends can set boundary ID – the facet is my only friend!

Definition at line 53 of file tet_mesh.h.

Member Data Documentation

◆ One_based_boundary_id

std::set<unsigned> oomph::TetMeshVertex::One_based_boundary_id
private

Set of (one-based!) boundary IDs this vertex lives on.

Definition at line 150 of file tet_mesh.h.

Referenced by one_based_boundary_id(), and set_one_based_boundary_id().

◆ X

Vector<double> oomph::TetMeshVertex::X
private

Coordinate vector.

Definition at line 147 of file tet_mesh.h.

Referenced by TetMeshVertex(), and x().

◆ Zeta_in_geom_object

Vector<double> oomph::TetMeshVertex::Zeta_in_geom_object
private

Intrinisic coordinates in GeomObject (zero sized if there isn't one.

Definition at line 154 of file tet_mesh.h.

Referenced by set_zeta_in_geom_object(), and zeta_in_geom_object().


The documentation for this class was generated from the following file: