Mesh representing a set of points created from polyMesh. More...
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 pointBoundaryMesh & | boundary () const |
Return reference to boundary mesh. More... | |
const globalMeshData & | globalData () const |
Return parallel info. More... | |
const objectRegistry & | thisDb () const |
Return database. For now is its polyMesh. More... | |
const Time & | time () 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 polyMesh & | mesh () 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 objectRegistry & | thisDb () const |
Return the object registry. More... | |
const polyMesh & | operator() () 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 pointMesh & | New (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 polyMesh & | mesh_ |
Protected Attributes inherited from GeoMesh< polyMesh > | |
const polyMesh & | mesh_ |
Reference to Mesh. More... | |
The mesh type.
Definition at line 79 of file pointMesh.H.
typedef pointBoundaryMesh BoundaryMesh |
The boundary type associated with the mesh.
Definition at line 82 of file pointMesh.H.
Construct from polyMesh.
Definition at line 73 of file pointMesh.C.
References Foam::endl(), IOobject::name(), and Foam::Pout.
|
default |
Destructor.
ClassName | ( | "pointMesh" | ) |
|
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().
|
inline |
Return size. Number of points.
Definition at line 108 of file pointMesh.H.
References pointMesh::size().
Referenced by pointMesh::size().
|
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().
|
inline |
Return parallel info.
Definition at line 120 of file pointMesh.H.
Referenced by pointConstraints::syncUntransformedData().
|
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().
|
inline |
Definition at line 132 of file pointMesh.H.
Referenced by fvMeshSubset::interpolate(), and uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs().
bool movePoints | ( | ) |
Move points.
Definition at line 93 of file pointMesh.C.
References Foam::endl(), points, and Foam::Pout.
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.
Definition at line 149 of file pointMesh.H.
Definition at line 154 of file pointMesh.H.