OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

geomCellLooper Class Reference

Inheritance diagram for geomCellLooper:

Inheritance graph
[legend]
Collaboration diagram for geomCellLooper:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 71 of file geomCellLooper.H.


Public Member Functions

 TypeName ("geomCellLooper")
 Runtime type information.
 geomCellLooper (const polyMesh &mesh)
 Construct from components.
virtual ~geomCellLooper ()
virtual bool cut (const vector &refDir, const label cellI, const boolList &vertIsCut, const boolList &edgeIsCut, const scalarField &edgeWeight, labelList &loop, scalarField &loopWeights) const
 Create cut along circumference of cellI. Gets current mesh cuts.
virtual bool cut (const plane &cutPlane, const label cellI, const boolList &vertIsCut, const boolList &edgeIsCut, const scalarField &edgeWeight, labelList &loop, scalarField &loopWeights) const
 Same but now also base point of cut provided (instead of always.

Static Public Member Functions

static scalar snapTol ()
static void setSnapTol (const scalar tol)

Constructor & Destructor Documentation

geomCellLooper ( const polyMesh &  mesh  ) 

Construct from components.

virtual ~geomCellLooper (  )  [virtual]


Member Function Documentation

TypeName ( "geomCellLooper"   ) 

Runtime type information.

static scalar snapTol (  )  [inline, static]

Definition at line 145 of file geomCellLooper.H.

static void setSnapTol ( const scalar  tol  )  [inline, static]

Definition at line 150 of file geomCellLooper.H.

virtual bool cut ( const vector &  refDir,
const label  cellI,
const boolList &  vertIsCut,
const boolList &  edgeIsCut,
const scalarField &  edgeWeight,
labelList &  loop,
scalarField &  loopWeights 
) const [virtual]

Create cut along circumference of cellI. Gets current mesh cuts.

Cut along circumference is expressed as loop of cuts plus weights for cuts along edges (only valid for edge cuts). Return true if successful cut.

Implements cellLooper.

Reimplemented in hexCellLooper, and topoCellLooper.

virtual bool cut ( const plane &  cutPlane,
const label  cellI,
const boolList &  vertIsCut,
const boolList &  edgeIsCut,
const scalarField &  edgeWeight,
labelList &  loop,
scalarField &  loopWeights 
) const [virtual]

Same but now also base point of cut provided (instead of always.

cell centre)

Implements cellLooper.

Reimplemented in hexCellLooper, and topoCellLooper.


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