OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

patchDataWave Class Template Reference

Inheritance diagram for patchDataWave:

Inheritance graph
[legend]
Collaboration diagram for patchDataWave:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 68 of file patchDataWave.H.


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 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

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

virtual void correct (  )  [virtual]

Correct for mesh geom/topo changes.

const scalarField& distance (  )  const [inline]

Definition at line 153 of file patchDataWave.H.

scalarField& distance (  )  [inline]

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

Definition at line 159 of file patchDataWave.H.

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

Definition at line 164 of file patchDataWave.H.

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

Definition at line 169 of file patchDataWave.H.

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

Definition at line 174 of file patchDataWave.H.

Field<Type>& cellData (  )  [inline]

Definition at line 179 of file patchDataWave.H.

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

Definition at line 184 of file patchDataWave.H.

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

Definition at line 189 of file patchDataWave.H.

label nUnset (  )  const [inline]

Definition at line 194 of file patchDataWave.H.


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