pointMesh Class Reference

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

Inheritance diagram for pointMesh:
[legend]
Collaboration diagram for pointMesh:
[legend]

Public Types

typedef pointMesh Mesh
 The mesh type. More...
 
typedef pointBoundaryMesh BoundaryMesh
 The boundary type associated with the mesh. More...
 
- Public Types inherited from GeoMesh< polyMesh >
typedef polyMesh Mesh
 
typedef MESH::BoundaryMesh BoundaryMesh
 

Public Member Functions

 ClassName ("pointMesh")
 
 pointMesh (const polyMesh &pMesh)
 Construct from polyMesh. More...
 
 ~pointMesh ()=default
 Destructor. More...
 
label size () const
 Return size. Number of points. More...
 
const pointBoundaryMeshboundary () const
 Return reference to boundary mesh. More...
 
const globalMeshDataglobalData () const
 Return parallel info. More...
 
const objectRegistrythisDb () const
 Return database. For now is its polyMesh. More...
 
const Timetime () const
 Return Time from polyMesh. More...
 
bool movePoints ()
 Move points. More...
 
void updateMesh (const mapPolyMesh &mpm)
 Update the mesh corresponding to given map. More...
 
bool operator!= (const pointMesh &pm) const
 
bool operator== (const pointMesh &pm) const
 
- Public Member Functions inherited from MeshObject< polyMesh, UpdateableMeshObject, pointMesh >
 MeshObject (const polyMesh &mesh)
 Construct on Mesh type. More...
 
virtual ~MeshObject ()=default
 Destructor. More...
 
const polyMeshmesh () const
 
virtual bool writeData (Ostream &os) const
 
- Public Member Functions inherited from GeoMesh< polyMesh >
 GeoMesh (const polyMesh &mesh)
 Construct from mesh reference. More...
 
bool hasDb () const
 Return true if thisDb() is a valid DB - here = false. More...
 
const objectRegistrythisDb () const
 Return the object registry. More...
 
const polyMeshoperator() () const
 Return reference to the underlying mesh. More...
 

Static Public Member Functions

static label size (const Mesh &mesh)
 Return size. Number of points. More...
 
- Static Public Member Functions inherited from MeshObject< polyMesh, UpdateableMeshObject, pointMesh >
static const pointMeshNew (const polyMesh &mesh, Args &&... args)
 Get existing or create a new MeshObject. More...
 
static bool Delete (const polyMesh &mesh)
 Static destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from MeshObject< polyMesh, UpdateableMeshObject, pointMesh >
const polyMeshmesh_
 
- Protected Attributes inherited from GeoMesh< polyMesh >
const polyMeshmesh_
 Reference to Mesh. More...
 

Detailed Description

Mesh representing a set of points created from polyMesh.

Definition at line 51 of file pointMesh.H.

Member Typedef Documentation

◆ Mesh

typedef pointMesh Mesh

The mesh type.

Definition at line 79 of file pointMesh.H.

◆ BoundaryMesh

The boundary type associated with the mesh.

Definition at line 82 of file pointMesh.H.

Constructor & Destructor Documentation

◆ pointMesh()

pointMesh ( const polyMesh pMesh)
explicit

Construct from polyMesh.

Definition at line 73 of file pointMesh.C.

References Foam::endl(), IOobject::name(), and Foam::Pout.

Here is the call graph for this function:

◆ ~pointMesh()

~pointMesh ( )
default

Destructor.

Member Function Documentation

◆ ClassName()

ClassName ( "pointMesh"  )

◆ size() [1/2]

static label size ( const Mesh mesh)
inlinestatic

Return size. Number of points.

Definition at line 102 of file pointMesh.H.

References MeshObject< polyMesh, UpdateableMeshObject, pointMesh >::mesh(), GeoMesh< polyMesh >::mesh_, and primitiveMesh::nPoints().

Referenced by pointFieldDecomposer::patchFieldDecomposer::patchFieldDecomposer(), pointFieldReconstructor::pointFieldReconstructor(), pointMapper::pointMapper(), and pointFieldReconstructor::reconstructField().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ size() [2/2]

label size ( ) const
inline

Return size. Number of points.

Definition at line 108 of file pointMesh.H.

References pointMesh::size().

Referenced by pointMesh::size().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ boundary()

const pointBoundaryMesh & boundary ( ) const
inline

Return reference to boundary mesh.

Definition at line 114 of file pointMesh.H.

Referenced by motionSmootherAlgo::curPoints(), pointFieldDecomposer::decomposeField(), fvMeshSubset::interpolate(), meshRefinement::makeDisplacementField(), pointFieldReconstructor::pointFieldReconstructor(), pointFieldReconstructor::reconstructField(), pointFieldDecomposer::reset(), and lumpedPointMovement::writeVTP().

Here is the caller graph for this function:

◆ globalData()

const globalMeshData & globalData ( ) const
inline

Return parallel info.

Definition at line 120 of file pointMesh.H.

Referenced by pointConstraints::syncUntransformedData().

Here is the caller graph for this function:

◆ thisDb()

const objectRegistry & thisDb ( ) const
inline

Return database. For now is its polyMesh.

Definition at line 126 of file pointMesh.H.

References GeoMesh< MESH >::thisDb().

Referenced by pointFieldDecomposer::decomposeField(), volPointInterpolation::interpolate(), fvMeshSubset::interpolate(), pointFieldReconstructor::reconstructField(), and uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ time()

const Time & time ( ) const
inline

Return Time from polyMesh.

Definition at line 132 of file pointMesh.H.

Referenced by fvMeshSubset::interpolate(), and uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs().

Here is the caller graph for this function:

◆ movePoints()

bool movePoints ( )

Move points.

Definition at line 93 of file pointMesh.C.

References Foam::endl(), points, and Foam::Pout.

Here is the call graph for this function:

◆ updateMesh()

void updateMesh ( const mapPolyMesh mpm)

Update the mesh corresponding to given map.

Definition at line 107 of file pointMesh.C.

References Foam::endl(), Foam::nl, and Foam::Pout.

Here is the call graph for this function:

◆ operator!=()

bool operator!= ( const pointMesh pm) const
inline

Definition at line 149 of file pointMesh.H.

◆ operator==()

bool operator== ( const pointMesh pm) const
inline

Definition at line 154 of file pointMesh.H.


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