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!)
 
 TetMeshVertex (Node *const &node_pt)
 
void set_zeta_in_geom_object (const Vector< double > &zeta)
 Set intrinisic coordinates in GeomObject.
 
Vector< doublezeta_in_geom_object () const
 Get intrinisic coordinates in GeomObject (returns zero sized vector if no such coordinates have been specified)
 
double x (const unsigned &i) const
 i-th coordinate
 
unsigned one_based_boundary_id () const
 First (of possibly multiple) one-based boundary id.
 

Private Member Functions

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

Private Attributes

Vector< doubleX
 Coordinate vector.
 
std::set< unsignedOne_based_boundary_id
 Set of (one-based!) boundary IDs this vertex lives on.
 
Vector< doubleZeta_in_geom_object
 Intrinisic coordinates in GeomObject (zero sized if there isn't one.
 

Friends

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

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 oomph::FiniteElement::size(), 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.

◆ 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 oomph::FiniteElement::size(), and 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 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.

Friends And Related Symbol Documentation

◆ TetMeshFacet

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(), 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: