FreeFOAM The Cross-Platform CFD Toolkit
globalPointPatch Class Reference

Foam::globalPointPatch. More...

#include <OpenFOAM/globalPointPatch.H>


Detailed Description

+ Inheritance diagram for globalPointPatch:
+ Collaboration diagram for globalPointPatch:

List of all members.

Public Member Functions

 TypeName ("global")
 Runtime type information.
 globalPointPatch (const pointBoundaryMesh &, const label index)
 Construct from components.
virtual ~globalPointPatch ()
virtual const wordname () const
 Return name.
virtual label size () const
 Return size.
virtual bool coupled () const
 Return true if running parallel.
virtual label nFaces () const
 Return number of faces.
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 local points. Not implemented.
virtual const vectorFieldpointNormals () const
 Return point normals. Not implemented.
virtual label globalPointSize () const
 Return total number of shared points.
const labelListsharedPointAddr () const
 Return addressing into the global points list.
- 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
 TypeName (coupledPolyPatch::typeName_())
 Runtime type information.
 coupledPointPatch (const pointBoundaryMesh &bm)
 Construct from components.
virtual ~coupledPointPatch ()

Constructor & Destructor Documentation

globalPointPatch ( const pointBoundaryMesh bm,
const label  index 
)

Construct from components.

Definition at line 35 of file globalPointPatch.C.

~globalPointPatch ( )
virtual

Definition at line 48 of file globalPointPatch.C.


Member Function Documentation

TypeName ( "global"  )

Runtime type information.

virtual const word& name ( ) const
inlinevirtual

Return name.

Implements pointPatch.

Definition at line 128 of file globalPointPatch.H.

References Foam::type().

virtual label size ( ) const
inlinevirtual

Return size.

Implements pointPatch.

Definition at line 136 of file globalPointPatch.H.

References globalPointPatch::meshPoints(), and List< T >::size().

virtual bool coupled ( ) const
inlinevirtual

Return true if running parallel.

Reimplemented from coupledPointPatch.

Definition at line 142 of file globalPointPatch.H.

References Pstream::parRun().

virtual label nFaces ( ) const
inlinevirtual

Return number of faces.

Definition at line 155 of file globalPointPatch.H.

virtual label index ( ) const
inlinevirtual

Return the index of this patch in the pointBoundaryMesh.

Implements pointPatch.

Definition at line 161 of file globalPointPatch.H.

virtual const labelList& meshPoints ( ) const
inlinevirtual
virtual const pointField& localPoints ( ) const
inlinevirtual

Return local points. Not implemented.

Implements pointPatch.

Definition at line 173 of file globalPointPatch.H.

References notImplemented, and Field< vector >::null().

virtual const vectorField& pointNormals ( ) const
inlinevirtual

Return point normals. Not implemented.

Implements pointPatch.

Definition at line 180 of file globalPointPatch.H.

References notImplemented, and Field< vector >::null().

virtual label globalPointSize ( ) const
inlinevirtual

Return total number of shared points.

Definition at line 187 of file globalPointPatch.H.

References pointPatch::boundaryMesh(), pointMesh::globalData(), pointBoundaryMesh::mesh(), and globalMeshData::nGlobalPoints().

const labelList& sharedPointAddr ( ) const
inline

Return addressing into the global points list.

Definition at line 193 of file globalPointPatch.H.

References pointPatch::boundaryMesh(), pointMesh::globalData(), pointBoundaryMesh::mesh(), and globalMeshData::sharedPointAddr().


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