OpenFOAM logo
Open Source CFD Toolkit

geomCellLooper Class Reference

Inheritance diagram for geomCellLooper:

Inheritance graph
[legend]
Collaboration diagram for geomCellLooper:

Collaboration graph
[legend]
List of all members.

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

scalar snapTol ()
void setSnapTol (const scalar tol)

Constructor & Destructor Documentation

geomCellLooper const polyMesh mesh  ) 
 

Construct from components.

virtual ~geomCellLooper  )  [virtual]
 


Member Function Documentation

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.

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.

void setSnapTol const scalar  tol  )  [inline, static]
 

Definition at line 150 of file geomCellLooper.H.

References Foam::boolList, Foam::label, Foam::labelList, Foam::scalarField, and Foam::vector.

scalar snapTol  )  [inline, static]
 

Definition at line 145 of file geomCellLooper.H.

TypeName "geomCellLooper"   ) 
 

Runtime type information.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org