OpenFOAM logo
Open Source CFD Toolkit

patchDataWave Class Template Reference

Inheritance diagram for patchDataWave:

Inheritance graph
[legend]
Collaboration diagram for patchDataWave:

Collaboration graph
[legend]
List of all members.

template<class TransferType>
class Foam::patchDataWave< TransferType >


Public Member Functions

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

Constructor & Destructor Documentation

patchDataWave const polyMesh mesh,
const labelHashSet patchIDs,
const List< Field< Type > * > &  initialPatchValuePtrs,
bool  correctWalls = true
 

Construct from mesh, information on patches to initialize and flag.

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

virtual ~patchDataWave  )  [virtual]
 


Member Function Documentation

Field<Type>& cellData  )  [inline]
 

Definition at line 179 of file patchDataWave.H.

const Field<Type>& cellData  )  const [inline]
 

Definition at line 174 of file patchDataWave.H.

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 159 of file patchDataWave.H.

const scalarField& distance  )  const [inline]
 

Definition at line 153 of file patchDataWave.H.

label nUnset  )  const [inline]
 

Definition at line 194 of file patchDataWave.H.

FieldField<Field, Type>& patchData  )  [inline]
 

Definition at line 189 of file patchDataWave.H.

const FieldField<Field, Type>& patchData  )  const [inline]
 

Definition at line 184 of file patchDataWave.H.

References Foam::label.

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

Definition at line 169 of file patchDataWave.H.

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

Definition at line 164 of file patchDataWave.H.


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