FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Mesh representing a set of points created from polyMesh. More...

#include <OpenFOAM/pointMesh.H>


Detailed Description

Mesh representing a set of points created from polyMesh.

Definition at line 49 of file pointMesh.H.

Inheritance diagram for pointMesh:
Collaboration diagram for pointMesh:

List of all members.

Public Types

typedef pointMesh  Mesh
typedef pointBoundaryMesh  BoundaryMesh

Public Member Functions

 pointMesh (const polyMesh &pMesh, bool alwaysConstructGlobalPatch=false)
 Construct from polyMesh.
label  size () const
 Return number of points.
const pointBoundaryMesh &  boundary () const
 Return reference to boundary mesh.
const globalMeshData &  globalData () const
 Return parallel info.
const objectRegistry &  thisDb () const
 Return database. For now is its polyMesh.
void  movePoints (const pointField &)
 Move points, returns volumes swept by faces in motion.
void  updateMesh (const mapPolyMesh &mpm)
 Update the mesh corresponding to given map.
bool  operator!= (const pointMesh &pm) const
bool  operator== (const pointMesh &pm) const

Static Public Member Functions

static label  size (const Mesh &mesh)
 Return number of points.

Member Typedef Documentation

typedef pointMesh Mesh

Reimplemented from GeoMesh< polyMesh >.

Definition at line 74 of file pointMesh.H.

Reimplemented from GeoMesh< polyMesh >.

Definition at line 75 of file pointMesh.H.


Constructor & Destructor Documentation

pointMesh ( const polyMesh &   pMesh,
bool   alwaysConstructGlobalPatch = false  
) [explicit]

Construct from polyMesh.

Definition at line 59 of file pointMesh.C.


Member Function Documentation

label size (  ) const [inline]

Return number of points.

Definition at line 91 of file pointMesh.H.

Referenced by pointMapper::pointMapper().

static label size ( const Mesh &   mesh  ) [inline, static]

Return number of points.

Definition at line 97 of file pointMesh.H.

References GeoMesh< MESH >::GeoMesh(), GeoMesh< polyMesh >::mesh_, and primitiveMesh::nPoints().

const globalMeshData& globalData (  ) const [inline]

Return parallel info.

Definition at line 109 of file pointMesh.H.

Referenced by globalPointPatch::globalPointSize(), globalPointPatch::meshPoints(), and globalPointPatch::sharedPointAddr().

const objectRegistry& thisDb (  ) const [inline]

Return database. For now is its polyMesh.

Reimplemented from GeoMesh< polyMesh >.

Definition at line 115 of file pointMesh.H.

References GeoMesh< MESH >::thisDb().

Referenced by volPointInterpolation::interpolate(), and fvMeshSubset::interpolate().

void movePoints ( const pointField &   newPoints  )

Move points, returns volumes swept by faces in motion.

Definition at line 93 of file pointMesh.C.

Referenced by polyMesh::movePoints().

void updateMesh ( const mapPolyMesh &   mpm  )

Update the mesh corresponding to given map.

Definition at line 99 of file pointMesh.C.

Referenced by polyMesh::updateMesh().

bool operator!= ( const pointMesh &   pm  ) const [inline]

Definition at line 132 of file pointMesh.H.

bool operator== ( const pointMesh &   pm  ) const [inline]

Definition at line 137 of file pointMesh.H.


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