Mesh representing a set of points created from polyMesh. More...
#include <OpenFOAM/pointMesh.H>
Mesh representing a set of points created from polyMesh.
Definition at line 49 of file pointMesh.H.
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.
|
Reimplemented from GeoMesh< polyMesh >.
Definition at line 74 of file pointMesh.H.
typedef pointBoundaryMesh BoundaryMesh |
Reimplemented from GeoMesh< polyMesh >.
Definition at line 75 of file pointMesh.H.
Construct from polyMesh.
Definition at line 59 of file pointMesh.C.
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 pointBoundaryMesh& boundary | ( | ) | const [inline]
|
Return reference to boundary mesh.
Definition at line 103 of file pointMesh.H.
Referenced by volPointInterpolation::interpolate(), pointPatchInterpolation::interpolate(), fvMeshSubset::interpolate(), meshRefinement::makeDisplacementField(), and pointBoundaryMeshMapper::pointBoundaryMeshMapper().
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.