Registry
ug4Bridge::promesh::Selection::Volumes Namespace Reference

Namespaces

 CoordinateBased
 

Functions

void DeselectAllVolumes (Mesh *mesh)
 Deselects all volumes of the current grid. More...
 
void SelectAllVolumes (Mesh *mesh)
 Selects all volumes of the current grid. More...
 
void SelectAnisotropicVolumes (Mesh *mesh, double min_edge_ratio)
 Selects elements and associated long edges wich have a shortest-to-longest edge ratio smaller than the specified one. More...
 
void SelectLinkedVolumes (Mesh *mesh)
 Repeatedly selects all volumes which are face-neighbors of selected volumes. More...
 
int SelectSlivers (Mesh *mesh, double threshold_ratio)
 Selects flat tetrahedrons. Threshold-ratio specifies the minimal ratio between the distance of two opposing edges to the length of the longest edge. More...
 
int SelectUnorientableVolumes (Mesh *mesh)
 Selects all volumes whose orientation can not be determined. More...
 
bool SelectVolumeByIndex (Mesh *mesh, int index)
 Selects a volume given its index. More...
 
void SelectVolumesByType (Mesh *mesh, bool Hexahedra, bool Octahedra, bool Prisms, bool Pyramids, bool Tetrahedra)
 Selects all volumes of a given type. More...
 
void VolumeSelectionFill (Mesh *mesh)
 Selects neighbours of selected volumes over non-selected faces. More...
 

Function Documentation

◆ DeselectAllVolumes()

void ug4Bridge::promesh::Selection::Volumes::DeselectAllVolumes ( Mesh mesh)

Deselects all volumes of the current grid.

Parameters
[in]mesh

◆ SelectAllVolumes()

void ug4Bridge::promesh::Selection::Volumes::SelectAllVolumes ( Mesh mesh)

Selects all volumes of the current grid.

Parameters
[in]mesh

◆ SelectAnisotropicVolumes()

void ug4Bridge::promesh::Selection::Volumes::SelectAnisotropicVolumes ( Mesh mesh,
double  min_edge_ratio 
)

Selects elements and associated long edges wich have a shortest-to-longest edge ratio smaller than the specified one.

Parameters
[in]mesh
[in]min_edge_ratio

◆ SelectLinkedVolumes()

void ug4Bridge::promesh::Selection::Volumes::SelectLinkedVolumes ( Mesh mesh)

Repeatedly selects all volumes which are face-neighbors of selected volumes.

Parameters
[in]mesh

◆ SelectSlivers()

int ug4Bridge::promesh::Selection::Volumes::SelectSlivers ( Mesh mesh,
double  threshold_ratio 
)

Selects flat tetrahedrons. Threshold-ratio specifies the minimal ratio between the distance of two opposing edges to the length of the longest edge.

Parameters
[in]mesh
[in]threshold_ratio

◆ SelectUnorientableVolumes()

int ug4Bridge::promesh::Selection::Volumes::SelectUnorientableVolumes ( Mesh mesh)

Selects all volumes whose orientation can not be determined.

Parameters
[in]mesh

◆ SelectVolumeByIndex()

bool ug4Bridge::promesh::Selection::Volumes::SelectVolumeByIndex ( Mesh mesh,
int  index 
)

Selects a volume given its index.

Parameters
[in]mesh
[in]index

◆ SelectVolumesByType()

void ug4Bridge::promesh::Selection::Volumes::SelectVolumesByType ( Mesh mesh,
bool  Hexahedra,
bool  Octahedra,
bool  Prisms,
bool  Pyramids,
bool  Tetrahedra 
)

Selects all volumes of a given type.

Parameters
[in]mesh
[in]Hexahedra
[in]Octahedra
[in]Prisms
[in]Pyramids
[in]Tetrahedra

◆ VolumeSelectionFill()

void ug4Bridge::promesh::Selection::Volumes::VolumeSelectionFill ( Mesh mesh)

Selects neighbours of selected volumes over non-selected faces.

Parameters
[in]mesh