Various utilities to handle sets relating mesh to surface. Note: work in progress. Used in meshing tools. More...
#include <meshTools/surfaceSets.H>
Various utilities to handle sets relating mesh to surface. Note: work in progress. Used in meshing tools.
Definition at line 63 of file surfaceSets.H.
Static Public Member Functions | |
static void | getSurfaceSets (const polyMesh &mesh, const fileName &surfName, const triSurface &surf, const triSurfaceSearch &querySurf, const pointField &outsidePts, const label nCutLayers, labelHashSet &inside, labelHashSet &outside, labelHashSet &cut) |
Divide cells into cut,inside and outside.
| |
static labelHashSet | getHangingCells (const primitiveMesh &mesh, const labelHashSet &internalCells) |
Get cells using points on 'outside' only.
|
void getSurfaceSets | ( | const polyMesh & | mesh, |
const fileName & | surfName, | ||
const triSurface & | surf, | ||
const triSurfaceSearch & | querySurf, | ||
const pointField & | outsidePts, | ||
const label | nCutLayers, | ||
labelHashSet & | inside, | ||
labelHashSet & | outside, | ||
labelHashSet & | cut | ||
) | [static]
|
Divide cells into cut,inside and outside.
nCutLayers>0 : remove cutCells (set to type inside) if further than nCutLayers away from outside type cell.
Definition at line 234 of file surfaceSets.C.
References forAll, HashSet< Key, Hash >::insert(), and cellClassification::trimCutCells().
Foam::labelHashSet getHangingCells | ( | const primitiveMesh & | mesh, |
const labelHashSet & | internalCells | ||
) | [static]
|
Get cells using points on 'outside' only.
Definition at line 293 of file surfaceSets.C.
References HashTable< T, Key, Hash >::begin(), primitiveMesh::cells(), cells, HashTable< T, Key, Hash >::end(), f(), primitiveMesh::faces(), forAll, HashTable< T, Key, Hash >::found(), primitiveMesh::nCells(), primitiveMesh::nPoints(), and HashTable< T, Key, Hash >::size().