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

pointPatch Class Reference

Basic pointPatch represents a set of points from the mesh. More...

Inheritance diagram for pointPatch:
Collaboration diagram for pointPatch:

List of all members.


Public Member Functions

 TypeName ("basePatch")
 Runtime type information.
 pointPatch (const pointBoundaryMesh &bm)
virtual ~pointPatch ()
virtual const word & name () const =0
 Return name.
virtual label size () const =0
 Return size.
virtual label index () const =0
 Return the index of this patch in the pointBoundaryMesh.
const pointBoundaryMesh & boundaryMesh () const
 Return boundaryMesh reference.
virtual bool coupled () const
 Return true if this patch field is coupled.
virtual const labelList & meshPoints () const =0
 Return mesh points.
virtual const vectorField & localPoints () const =0
 Return mesh points.
virtual const vectorField & pointNormals () const =0
 Return point normals.
virtual void applyConstraint (const label pointi, pointConstraint &) const
 Accumulate the effect of constraint direction of this patch.

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.

Friends

class pointBoundaryMesh

Detailed Description

Basic pointPatch represents a set of points from the mesh.

Source files

Definition at line 51 of file pointPatch.H.


Constructor & Destructor Documentation

pointPatch ( const pointBoundaryMesh &  bm  )  [inline]

Definition at line 109 of file pointPatch.H.

virtual ~pointPatch (  )  [inline, virtual]

Definition at line 119 of file pointPatch.H.


Member Function Documentation

virtual void initGeometry (  )  [inline, protected, virtual]

Initialise the calculation of the patch geometry.

Reimplemented in facePointPatch.

Definition at line 76 of file pointPatch.H.

virtual void calcGeometry (  )  [inline, protected, virtual]

Calculate the patch geometry.

Reimplemented in coupledFacePointPatch, and facePointPatch.

Definition at line 80 of file pointPatch.H.

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

Initialise the patches for moving points.

Reimplemented in facePointPatch.

Definition at line 84 of file pointPatch.H.

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

Correct patches after moving points.

Reimplemented in facePointPatch.

Definition at line 88 of file pointPatch.H.

virtual void initUpdateMesh (  )  [inline, protected, virtual]

Initialise the update of the patch topology.

Reimplemented in facePointPatch.

Definition at line 92 of file pointPatch.H.

virtual void updateMesh (  )  [inline, protected, virtual]

Update of the patch topology.

Reimplemented in facePointPatch.

Definition at line 96 of file pointPatch.H.

TypeName ( "basePatch"   ) 

Runtime type information.

virtual const word& name (  )  const [pure virtual]

Return name.

Implemented in globalPointPatch, and facePointPatch.

Referenced by NamedEnum< Enum, nEnum >::names().

Here is the caller graph for this function:

virtual label size (  )  const [pure virtual]

Return size.

Implemented in globalPointPatch, and facePointPatch.

Referenced by pointPatchMapper::sizeBeforeMapping().

Here is the caller graph for this function:

virtual label index (  )  const [pure virtual]

Return the index of this patch in the pointBoundaryMesh.

Implemented in globalPointPatch, and facePointPatch.

const pointBoundaryMesh& boundaryMesh (  )  const [inline]

Return boundaryMesh reference.

Definition at line 135 of file pointPatch.H.

Referenced by globalPointPatch::localPoints(), NamedEnum< Enum, nEnum >::names(), and globalPointPatch::sharedPointAddr().

Here is the caller graph for this function:

virtual bool coupled (  )  const [inline, virtual]

Return true if this patch field is coupled.

Reimplemented in processorPointPatch, coupledFacePointPatch, and globalPointPatch.

Definition at line 141 of file pointPatch.H.

virtual const labelList& meshPoints (  )  const [pure virtual]

Return mesh points.

Implemented in globalPointPatch, and facePointPatch.

Referenced by NamedEnum< Enum, nEnum >::names().

Here is the caller graph for this function:

virtual const vectorField& pointNormals (  )  const [pure virtual]

Return point normals.

Implemented in coupledFacePointPatch, globalPointPatch, and facePointPatch.

Referenced by NamedEnum< Enum, nEnum >::names().

Here is the caller graph for this function:

virtual void applyConstraint ( const label  pointi,
pointConstraint &   
) const [inline, virtual]

Accumulate the effect of constraint direction of this patch.

Reimplemented in emptyPointPatch, symmetryPointPatch, and wedgePointPatch.

Definition at line 157 of file pointPatch.H.


Friends And Related Function Documentation

friend class pointBoundaryMesh [friend]

Definition at line 73 of file pointPatch.H.


The documentation for this class was generated from the following file:
  • src/OpenFOAM/meshes/pointMesh/pointPatches/pointPatch/pointPatch.H
Copyright © 2000-2009 OpenCFD Ltd