OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

patchDataWave< TransferType > Class Template Reference

Takes a set of patches to start MeshWave from. More...

Inheritance diagram for patchDataWave< TransferType >:
Collaboration diagram for patchDataWave< TransferType >:

List of all members.


Public Member Functions

 patchDataWave (const polyMesh &mesh, const labelHashSet &patchIDs, const UPtrList< 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 scalarField & distance () const
scalarField & distance ()
 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

Detailed Description

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

Takes a set of patches to start MeshWave from.

Holds after construction distance at cells and distance at patches (like patchWave), but also additional transported data. It is used, for example, in the y+ calculation.

See also:
The patchWave class.
Source files

Definition at line 59 of file patchDataWave.H.


Constructor & Destructor Documentation

patchDataWave ( const polyMesh &  mesh,
const labelHashSet &  patchIDs,
const UPtrList< Field< Type > > &  initialPatchValuePtrs,
bool  correctWalls = true 
) [inline]

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.

Definition at line 164 of file patchDataWave.C.

~patchDataWave (  )  [inline, virtual]

Definition at line 188 of file patchDataWave.C.

References patchDataWave< TransferType >::correct().

Here is the call graph for this function:


Member Function Documentation

void correct (  )  [inline, virtual]

Correct for mesh geom/topo changes.

Definition at line 196 of file patchDataWave.C.

Referenced by patchDataWave< TransferType >::~patchDataWave().

Here is the caller graph for this function:

const scalarField& distance (  )  const [inline]

Definition at line 144 of file patchDataWave.H.

scalarField& distance (  )  [inline]

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

Definition at line 150 of file patchDataWave.H.

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

Definition at line 155 of file patchDataWave.H.

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

Definition at line 160 of file patchDataWave.H.

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

Definition at line 165 of file patchDataWave.H.

Field<Type>& cellData (  )  [inline]

Definition at line 170 of file patchDataWave.H.

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

Definition at line 175 of file patchDataWave.H.

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

Definition at line 180 of file patchDataWave.H.

label nUnset (  )  const [inline]

Definition at line 185 of file patchDataWave.H.


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