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

Functions

Volume * SelectVolumeByCoordinate (Mesh *mesh, const Vec *coordinate)
 Selects the volume whose center is closest to the specified coordinate. More...
 
Volume * SelectVolumeByCylindricalCoordinate (Mesh *mesh, double rho, double phi, double z)
 Selects the volume whose center is closest to the specified cylindrical coordinate. More...
 
void SelectVolumesInBox (Mesh *mesh, const Vec *min, const Vec *max)
 Selects all volumes in the given box. More...
 
void SelectVolumesInCylinder (Mesh *mesh, const Vec *base, const Vec *top, double radius)
 Selects all volumes in the given cylinder. More...
 

Function Documentation

◆ SelectVolumeByCoordinate()

Volume* ug4Bridge::promesh::Selection::Volumes::CoordinateBased::SelectVolumeByCoordinate ( Mesh mesh,
const Vec *  coordinate 
)

Selects the volume whose center is closest to the specified coordinate.

Parameters
[in]mesh
[in]coordinate

◆ SelectVolumeByCylindricalCoordinate()

Volume* ug4Bridge::promesh::Selection::Volumes::CoordinateBased::SelectVolumeByCylindricalCoordinate ( Mesh mesh,
double  rho,
double  phi,
double  z 
)

Selects the volume whose center is closest to the specified cylindrical coordinate.

Parameters
[in]mesh
[in]rho
[in]phi
[in]z

◆ SelectVolumesInBox()

void ug4Bridge::promesh::Selection::Volumes::CoordinateBased::SelectVolumesInBox ( Mesh mesh,
const Vec *  min,
const Vec *  max 
)

Selects all volumes in the given box.

Parameters
[in]mesh
[in]min
[in]max

◆ SelectVolumesInCylinder()

void ug4Bridge::promesh::Selection::Volumes::CoordinateBased::SelectVolumesInCylinder ( Mesh mesh,
const Vec *  base,
const Vec *  top,
double  radius 
)

Selects all volumes in the given cylinder.

Parameters
[in]mesh
[in]base
[in]top
[in]radius