OpenFOAM logo
Open Source CFD Toolkit

patchWave Class Reference

Inheritance diagram for patchWave:

Inheritance graph
[legend]
Collaboration diagram for patchWave:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 patchWave (const polyMesh &mesh, const labelHashSet &patchIDs, bool correctWalls=true)
 Construct from mesh and patches to initialize to 0 and flag.
virtual ~patchWave ()
virtual void correct ()
 Correct for mesh geom/topo changes.
label nUnset () const
const scalarFielddistance () const
scalarFielddistance ()
 Non const access so we can 'transfer' contents for efficiency.
const FieldField< Field, scalar > & patchDistance () const
FieldField< Field, scalar > & patchDistance ()

Constructor & Destructor Documentation

patchWave const polyMesh mesh,
const labelHashSet patchIDs,
bool  correctWalls = true
 

Construct from mesh and patches to initialize to 0 and flag.

whether or not to correct wall. Calculate for all cells. correctWalls : correct wall (face&point) cells for correct distance, searching neighbours.

virtual ~patchWave  )  [virtual]
 


Member Function Documentation

virtual void correct  )  [virtual]
 

Correct for mesh geom/topo changes.

scalarField& distance  )  [inline]
 

Non const access so we can 'transfer' contents for efficiency.

Definition at line 148 of file patchWave.H.

const scalarField& distance  )  const [inline]
 

Definition at line 142 of file patchWave.H.

label nUnset  )  const [inline]
 

Definition at line 137 of file patchWave.H.

FieldField<Field, scalar>& patchDistance  )  [inline]
 

Definition at line 158 of file patchWave.H.

const FieldField<Field, scalar>& patchDistance  )  const [inline]
 

Definition at line 153 of file patchWave.H.


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