FreeFOAM The Cross-Platform CFD Toolkit
pointPatch Class Reference

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

#include <OpenFOAM/pointPatch.H>


Detailed Description

+ Inheritance diagram for pointPatch:

List of all members.

Public Member Functions

 TypeName ("basePatch")
 Runtime type information.
 pointPatch (const pointBoundaryMesh &bm)
virtual ~pointPatch ()
virtual const wordname () 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 pointBoundaryMeshboundaryMesh () const
 Return boundaryMesh reference.
virtual bool coupled () const
 Return true if this patch field is coupled.
virtual const labelListmeshPoints () const =0
 Return mesh points.
virtual const vectorFieldlocalPoints () const =0
 Return mesh points.
virtual const vectorFieldpointNormals () 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

Constructor & Destructor Documentation

pointPatch ( const pointBoundaryMesh bm)
inline

Definition at line 114 of file pointPatch.H.

virtual ~pointPatch ( )
inlinevirtual

Definition at line 124 of file pointPatch.H.


Member Function Documentation

virtual void initGeometry ( )
inlineprotectedvirtual

Initialise the calculation of the patch geometry.

Reimplemented in facePointPatch.

Definition at line 81 of file pointPatch.H.

virtual void calcGeometry ( )
inlineprotectedvirtual

Calculate the patch geometry.

Reimplemented in coupledFacePointPatch, and facePointPatch.

Definition at line 85 of file pointPatch.H.

virtual void initMovePoints ( const pointField )
inlineprotectedvirtual

Initialise the patches for moving points.

Reimplemented in facePointPatch.

Definition at line 89 of file pointPatch.H.

virtual void movePoints ( const pointField )
inlineprotectedvirtual

Correct patches after moving points.

Reimplemented in facePointPatch.

Definition at line 93 of file pointPatch.H.

virtual void initUpdateMesh ( )
inlineprotectedvirtual

Initialise the update of the patch topology.

Reimplemented in facePointPatch.

Definition at line 97 of file pointPatch.H.

virtual void updateMesh ( )
inlineprotectedvirtual

Update of the patch topology.

Reimplemented in facePointPatch.

Definition at line 101 of file pointPatch.H.

TypeName ( "basePatch"  )

Runtime type information.

virtual const word& name ( ) const
pure virtual
virtual label index ( ) const
pure virtual

Return the index of this patch in the pointBoundaryMesh.

Implemented in facePointPatch, and globalPointPatch.

virtual bool coupled ( ) const
inlinevirtual

Return true if this patch field is coupled.

Reimplemented in globalPointPatch, processorPointPatch, and coupledFacePointPatch.

Definition at line 146 of file pointPatch.H.

virtual const labelList& meshPoints ( ) const
pure virtual

Return mesh points.

Implemented in facePointPatch, and globalPointPatch.

Referenced by fvMeshSubset::interpolate().

virtual const vectorField& pointNormals ( ) const
pure virtual

Return point normals.

Implemented in facePointPatch, globalPointPatch, and coupledFacePointPatch.

virtual void applyConstraint ( const label  pointi,
pointConstraint  
) const
inlinevirtual

Accumulate the effect of constraint direction of this patch.

Reimplemented in emptyPointPatch, symmetryPointPatch, and wedgePointPatch.

Definition at line 162 of file pointPatch.H.


Friends And Related Function Documentation

friend class pointBoundaryMesh
friend

Definition at line 78 of file pointPatch.H.


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