Foam::globalPointPatch. More...
#include <OpenFOAM/globalPointPatch.H>
Definition at line 52 of file globalPointPatch.H.
Public Member Functions | |
TypeName ("global") | |
Runtime type information.
| |
globalPointPatch (const pointBoundaryMesh &, const label index) | |
Construct from components.
| |
virtual | ~globalPointPatch () |
virtual const word & | name () 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 labelList & | meshPoints () const |
Return mesh points.
| |
virtual const pointField & | localPoints () const |
Return local points. Not implemented.
| |
virtual const vectorField & | pointNormals () const |
Return point normals. Not implemented.
| |
virtual label | globalPointSize () const |
Return total number of shared points.
| |
const labelList & | sharedPointAddr () const |
Return addressing into the global points list.
|
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.
TypeName | ( | "global" | ) |
Runtime type information.
virtual const word& name | ( | ) | const [inline, virtual]
|
Return name.
Implements pointPatch.
Definition at line 128 of file globalPointPatch.H.
References Foam::type().
virtual label size | ( | ) | const [inline, virtual]
|
Return size.
Implements pointPatch.
Definition at line 136 of file globalPointPatch.H.
References globalPointPatch::meshPoints(), and List< T >::size().
virtual bool coupled | ( | ) | const [inline, virtual]
|
Return true if running parallel.
Reimplemented from coupledPointPatch.
Definition at line 142 of file globalPointPatch.H.
References Pstream::parRun().
virtual label nFaces | ( | ) | const [inline, virtual]
|
Return number of faces.
Definition at line 155 of file globalPointPatch.H.
virtual label index | ( | ) | const [inline, virtual]
|
Return the index of this patch in the pointBoundaryMesh.
Implements pointPatch.
Definition at line 161 of file globalPointPatch.H.
virtual const labelList& meshPoints | ( | ) | const [inline, virtual]
|
Return mesh points.
Implements pointPatch.
Definition at line 167 of file globalPointPatch.H.
References pointPatch::boundaryMesh(), pointMesh::globalData(), pointBoundaryMesh::mesh(), and globalMeshData::sharedPointLabels().
Referenced by globalPointPatch::size().
virtual const pointField& localPoints | ( | ) | const [inline, virtual]
|
Return local points. Not implemented.
Implements pointPatch.
Definition at line 173 of file globalPointPatch.H.
References notImplemented, and Field< Type >::null().
virtual const vectorField& pointNormals | ( | ) | const [inline, virtual]
|
Return point normals. Not implemented.
Implements pointPatch.
Definition at line 180 of file globalPointPatch.H.
References notImplemented, and Field< Type >::null().
virtual label globalPointSize | ( | ) | const [inline, virtual]
|
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().