OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

surfaceSets Class Reference

Various utilities to handle sets relating mesh to surface. Note: work in progress. Used in meshing tools. More...

List of all members.


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.

Detailed Description

Various utilities to handle sets relating mesh to surface. Note: work in progress. Used in meshing tools.

Source files

Definition at line 58 of file surfaceSets.H.


Member Function Documentation

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 227 of file surfaceSets.C.

References cellClassification::CUT, Foam::exit(), Foam::FatalError, FatalErrorIn, meshSearch::findCell(), forAll, cellClassification::INSIDE, cellClassification::OUTSIDE, and cellClassification::trimCutCells().

Here is the call graph for this function:

Foam::labelHashSet getHangingCells ( const primitiveMesh &  mesh,
const labelHashSet &  internalCells 
) [static]

Get cells using points on 'outside' only.

Definition at line 307 of file surfaceSets.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd