FreeFOAM The Cross-Platform CFD Toolkit
coupledFacePointPatch Class Reference

coupled patch for post-processing. Used as the base class for processor and cyclic pointPatches More...

#include <OpenFOAM/coupledFacePointPatch.H>


Detailed Description

coupled patch for post-processing. Used as the base class for processor and cyclic pointPatches

Source files

Definition at line 54 of file coupledFacePointPatch.H.

+ Inheritance diagram for coupledFacePointPatch:
+ Collaboration diagram for coupledFacePointPatch:

List of all members.

Public Member Functions

 TypeName (coupledPolyPatch::typeName_())
 Runtime type information.
 coupledFacePointPatch (const polyPatch &patch, const pointBoundaryMesh &bm)
 Construct from components.
virtual ~coupledFacePointPatch ()
virtual bool coupled () const
 Return true because this patch is coupled.
virtual const labelListnonGlobalPatchPoints () const
 Return the set of labels of the pointPatch points which are.
virtual const labelListloneMeshPoints () const
 Return the set of labels of the pointPatch points which are.
virtual const vectorFieldpointNormals () const
 Return point unit normals. Not impelemented.
- Public Member Functions inherited from facePointPatch
 TypeName (polyPatch::typeName_())
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, facePointPatch, polyPatch,(const polyPatch &patch, const pointBoundaryMesh &bm),(patch, bm))
 facePointPatch (const polyPatch &, const pointBoundaryMesh &)
 Construct from polyPatch.
virtual ~facePointPatch ()
const polyPatchpatch () const
 Return the polyPatch.
virtual const wordname () const
 Return name.
virtual label size () const
 Return size.
virtual label index () const
 Return the index of this patch in the pointBoundaryMesh.
virtual const labelListmeshPoints () const
 Return mesh points.
virtual const pointFieldlocalPoints () const
 Return pointField of points in patch.
- Public Member Functions inherited from pointPatch
 TypeName ("basePatch")
 Runtime type information.
 pointPatch (const pointBoundaryMesh &bm)
virtual ~pointPatch ()
const pointBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference.
virtual void applyConstraint (const label pointi, pointConstraint &) const
 Accumulate the effect of constraint direction of this patch.
- Public Member Functions inherited from coupledPointPatch
 coupledPointPatch (const pointBoundaryMesh &bm)
 Construct from components.
virtual ~coupledPointPatch ()

Protected Member Functions

virtual void calcGeometry ()=0
 Calculate mesh points.
- Protected Member Functions inherited from facePointPatch
virtual void initGeometry ()
 Initialise the calculation of the patch geometry.
virtual void initMovePoints (const pointField &)
 Initialise the patches for moving points.
virtual void movePoints (const pointField &)
 Correct patches after moving points.
virtual void initUpdateMesh ()
 Initialise the update of the patch topology.
virtual void updateMesh ()
 Update of the patch topology.
- Protected Member Functions inherited from coupledPointPatch
virtual void initGeometry ()=0
 Initialise the calculation of the patch geometry.
virtual void initMovePoints (const pointField &)=0
 Initialise the patches for moving points.
virtual void movePoints (const pointField &)=0
 Correct patches after moving points.
virtual void initUpdateMesh ()=0
 Initialise the update of the patch topology.
virtual void updateMesh ()=0
 Update of the patch topology.

Protected Attributes

labelList nonGlobalPatchPoints_
 The set of labels of the pointPatch points which are.
labelList loneMeshPoints_
- Protected Attributes inherited from facePointPatch
const polyPatchpolyPatch_
 Reference to the underlying polyPatch.
labelList meshPoints_
pointField localPoints_
vectorField pointNormals_

Additional Inherited Members

- Static Public Member Functions inherited from facePointPatch
static autoPtr< facePointPatchNew (const polyPatch &, const pointBoundaryMesh &)
 Return a pointer to a new patch created on freestore from polyPatch.

Constructor & Destructor Documentation

coupledFacePointPatch ( const polyPatch patch,
const pointBoundaryMesh bm 
)

Construct from components.

Definition at line 42 of file coupledFacePointPatch.C.

~coupledFacePointPatch ( )
virtual

Definition at line 55 of file coupledFacePointPatch.C.


Member Function Documentation

virtual void calcGeometry ( )
protectedpure virtual

Calculate mesh points.

Implements coupledPointPatch.

TypeName ( coupledPolyPatch::  typeName_())

Runtime type information.

Reimplemented from coupledPointPatch.

virtual bool coupled ( ) const
inlinevirtual

Return true because this patch is coupled.

Reimplemented from coupledPointPatch.

Reimplemented in processorPointPatch.

Definition at line 117 of file coupledFacePointPatch.H.

const labelList & nonGlobalPatchPoints ( ) const
virtual

Return the set of labels of the pointPatch points which are.

non-global, i.e. present in this coupledFacePointPatch

Definition at line 61 of file coupledFacePointPatch.C.

References coupledFacePointPatch::nonGlobalPatchPoints_.

const labelList & loneMeshPoints ( ) const
virtual

Return the set of labels of the pointPatch points which are.

lone, i.e. present in this coupledFacePointPatch but not associated with any faces

Definition at line 66 of file coupledFacePointPatch.C.

References coupledFacePointPatch::loneMeshPoints_.

const vectorField & pointNormals ( ) const
virtual

Return point unit normals. Not impelemented.

Reimplemented from facePointPatch.

Definition at line 71 of file coupledFacePointPatch.C.

References notImplemented.


Member Data Documentation

labelList nonGlobalPatchPoints_
protected

The set of labels of the pointPatch points which are.

non-global, i.e. present only in this coupledPointPatch. MUST be initialised by calcGeometry()!

Definition at line 80 of file coupledFacePointPatch.H.

Referenced by coupledFacePointPatch::nonGlobalPatchPoints().

labelList loneMeshPoints_
protected

Definition at line 82 of file coupledFacePointPatch.H.

Referenced by coupledFacePointPatch::loneMeshPoints().


The documentation for this class was generated from the following files: