OpenFOAM logo
Open Source CFD Toolkit

PointEdgeWave Class Template Reference

Collaboration diagram for PointEdgeWave:

Collaboration graph
[legend]
List of all members.

template<class Type>
class Foam::PointEdgeWave< Type >


Public Member Functions

 PointEdgeWave (const pointMesh &pMesh, const labelList &initialPoints, const List< Type > &initialPointsInfo, List< Type > &allPointInfo, List< Type > &allEdgeInfo, const label maxIter)
 Construct from mesh, list of changed points with the Type.
 ~PointEdgeWave ()
const List< Type > & allPointInfo () const
 Get allPointInfo.
const List< Type > & allEdgeInfo () const
 Get allEdgeInfo.
label getUnsetEdges () const
 Get number of unvisited edges, i.e. edges that were not (yet).
label getUnsetPoints () const
label pointToEdge ()
 Propagate from point to edge. Returns total number of edges.
label edgeToPoint ()
 Propagate from edge to point. Returns total number of points.
label iterate (const label maxIter)
 Iterate until no changes or maxIter reached.

Static Public Member Functions

scalar propagationTol ()
 Access to tolerance.
void setPropagationTol (const scalar tol)
 Change tolerance.

Constructor & Destructor Documentation

PointEdgeWave const pointMesh pMesh,
const labelList initialPoints,
const List< Type > &  initialPointsInfo,
List< Type > &  allPointInfo,
List< Type > &  allEdgeInfo,
const label  maxIter
 

Construct from mesh, list of changed points with the Type.

for these points. Gets work arrays to operate on, one of size number of mesh points, the other number of mesh edges. Iterates until nothing changes or maxIter reached. (maxIter can be 0)

~PointEdgeWave  ) 
 


Member Function Documentation

const List<Type>& allEdgeInfo  )  const [inline]
 

Get allEdgeInfo.

Definition at line 326 of file PointEdgeWave.H.

References Foam::label.

const List<Type>& allPointInfo  )  const [inline]
 

Get allPointInfo.

Definition at line 320 of file PointEdgeWave.H.

References Foam::label.

label edgeToPoint  ) 
 

Propagate from edge to point. Returns total number of points.

(over all processors) changed.

label getUnsetEdges  )  const
 

Get number of unvisited edges, i.e. edges that were not (yet).

reached from walking across mesh. This can happen from

  • not enough iterations done
  • a disconnected mesh
  • a mesh without walls in it

label getUnsetPoints  )  const
 

label iterate const label  maxIter  ) 
 

Iterate until no changes or maxIter reached.

label pointToEdge  ) 
 

Propagate from point to edge. Returns total number of edges.

(over all processors) changed.

scalar propagationTol  )  [inline, static]
 

Access to tolerance.

Definition at line 279 of file PointEdgeWave.H.

void setPropagationTol const scalar  tol  )  [inline, static]
 

Change tolerance.

Definition at line 285 of file PointEdgeWave.H.

References Foam::label, and Foam::labelList.


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