Various utilities to handle sets relating mesh to surface. Note: work in progress. Used in meshing tools. More...
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. More... | |
static labelHashSet | getHangingCells (const primitiveMesh &mesh, const labelHashSet &internalCells) |
Get cells using points on 'outside' only. More... | |
Private Types | |
enum | pointStatus { NOTSET, INSIDE, MIXED, OUTSIDE } |
Visibility of points: from inside cells, from outside cells or. More... | |
Various utilities to handle sets relating mesh to surface. Note: work in progress. Used in meshing tools.
Definition at line 62 of file surfaceSets.H.
|
private |
Visibility of points: from inside cells, from outside cells or.
from both
Enumerator | |
---|---|
NOTSET | |
INSIDE | |
MIXED | |
OUTSIDE |
Definition at line 66 of file surfaceSets.H.
|
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 223 of file surfaceSets.C.
References forAll, HashSet< Key, Hash >::insert(), mesh, and cellClassification::trimCutCells().
|
static |
Get cells using points on 'outside' only.
Definition at line 282 of file surfaceSets.C.
References cells, f(), forAll, forAllConstIter(), HashTable::found(), HashSet< Key, Hash >::insert(), mesh, and HashTable::size().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.