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

facePointPatch Class Reference

A pointPatch based on a polyPatch. More...

Inheritance diagram for facePointPatch:
Collaboration diagram for facePointPatch:

List of all members.


Public Member Functions

 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 polyPatch & patch () const
 Return the polyPatch.
virtual const word & name () const
 Return name.
virtual label size () const
 Return size.
virtual label index () const
 Return the index of this patch in the pointBoundaryMesh.
virtual const labelList & meshPoints () const
 Return mesh points.
virtual const pointField & localPoints () const
 Return pointField of points in patch.
virtual const vectorField & pointNormals () const
 Return point unit normals.

Static Public Member Functions

static autoPtr< facePointPatch > New (const polyPatch &, const pointBoundaryMesh &)
 Return a pointer to a new patch created on freestore from polyPatch.

Protected Member Functions

virtual void initGeometry ()
 Initialise the calculation of the patch geometry.
virtual void calcGeometry ()
 Calculate 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 Attributes

const polyPatch & polyPatch_
 Reference to the underlying polyPatch.
labelList meshPoints_
pointField localPoints_
vectorField pointNormals_

Friends

class processorPointPatch
class cyclicPointPatch

Detailed Description

A pointPatch based on a polyPatch.

Source files

Definition at line 51 of file facePointPatch.H.


Constructor & Destructor Documentation

facePointPatch ( const polyPatch &  p,
const pointBoundaryMesh &  bm 
)

Construct from polyPatch.

Definition at line 78 of file facePointPatch.C.

virtual ~facePointPatch (  )  [inline, virtual]

Definition at line 148 of file facePointPatch.H.


Member Function Documentation

void initGeometry (  )  [protected, virtual]

Initialise the calculation of the patch geometry.

Reimplemented from pointPatch.

Definition at line 45 of file facePointPatch.C.

void calcGeometry (  )  [protected, virtual]

Calculate the patch geometry.

Reimplemented from pointPatch.

Reimplemented in coupledFacePointPatch.

Definition at line 53 of file facePointPatch.C.

References facePointPatch::meshPoints_.

void initMovePoints ( const pointField &   )  [protected, virtual]

Initialise the patches for moving points.

Reimplemented from pointPatch.

Definition at line 57 of file facePointPatch.C.

void movePoints ( const pointField &   )  [protected, virtual]

Correct patches after moving points.

Reimplemented from pointPatch.

Definition at line 61 of file facePointPatch.C.

void initUpdateMesh (  )  [protected, virtual]

Initialise the update of the patch topology.

Reimplemented from pointPatch.

Definition at line 65 of file facePointPatch.C.

void updateMesh (  )  [protected, virtual]

Update of the patch topology.

Reimplemented from pointPatch.

Definition at line 71 of file facePointPatch.C.

Referenced by cyclicPointPatch::cyclicPointPatch(), and processorPointPatch::processorPointPatch().

Here is the caller graph for this function:

TypeName ( polyPatch::  typeName_()  ) 

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
facePointPatch  ,
polyPatch  ,
(const polyPatch &patch, const pointBoundaryMesh &bm)  ,
(patch, bm)   
)

autoPtr< facePointPatch > New ( const polyPatch &  patch,
const pointBoundaryMesh &  bm 
) [static]

Return a pointer to a new patch created on freestore from polyPatch.

Definition at line 28 of file newFacePointPatch.C.

References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, and Foam::Info.

Referenced by pointBoundaryMesh::pointBoundaryMesh().

Here is the call graph for this function:

Here is the caller graph for this function:

const polyPatch& patch (  )  const [inline]

Return the polyPatch.

Definition at line 155 of file facePointPatch.H.

virtual const word& name (  )  const [inline, virtual]

Return name.

Implements pointPatch.

Definition at line 161 of file facePointPatch.H.

References facePointPatch::polyPatch_.

virtual label size (  )  const [inline, virtual]

Return size.

Implements pointPatch.

Definition at line 167 of file facePointPatch.H.

References patchIdentifier::name(), and facePointPatch::polyPatch_.

Here is the call graph for this function:

virtual label index (  )  const [inline, virtual]

Return the index of this patch in the pointBoundaryMesh.

Implements pointPatch.

Definition at line 173 of file facePointPatch.H.

References facePointPatch::meshPoints().

Here is the call graph for this function:

const labelList & meshPoints (  )  const [virtual]

Return mesh points.

Implements pointPatch.

Definition at line 90 of file facePointPatch.C.

Referenced by facePointPatch::index().

Here is the caller graph for this function:

const pointField & localPoints (  )  const [virtual]

Return pointField of points in patch.

Implements pointPatch.

Definition at line 103 of file facePointPatch.C.

const vectorField & pointNormals (  )  const [virtual]

Return point unit normals.

Implements pointPatch.

Reimplemented in coupledFacePointPatch.

Definition at line 129 of file facePointPatch.C.


Friends And Related Function Documentation

friend class processorPointPatch [friend]

Definition at line 106 of file facePointPatch.H.

friend class cyclicPointPatch [friend]

Definition at line 107 of file facePointPatch.H.


Member Data Documentation

const polyPatch& polyPatch_ [protected]

Reference to the underlying polyPatch.

Definition at line 60 of file facePointPatch.H.

Referenced by facePointPatch::name(), and facePointPatch::size().

labelList meshPoints_ [mutable, protected]

Definition at line 65 of file facePointPatch.H.

Referenced by facePointPatch::calcGeometry().

pointField localPoints_ [mutable, protected]

Definition at line 66 of file facePointPatch.H.

vectorField pointNormals_ [mutable, protected]

Definition at line 67 of file facePointPatch.H.


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