diff --git a/src/OpenFOAM/meshes/pointMesh/pointMesh.C b/src/OpenFOAM/meshes/pointMesh/pointMesh.C index de6f88d16c..c00c67cdb0 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointMesh.C +++ b/src/OpenFOAM/meshes/pointMesh/pointMesh.C @@ -88,6 +88,20 @@ Foam::pointMesh::pointMesh(const polyMesh& pMesh) } +// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // + +Foam::pointMesh::~pointMesh() +{ + if (debug) + { + Pout<< "~pointMesh::pointMesh()" + << endl; + } +} + + +// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // + bool Foam::pointMesh::movePoints() { if (debug) diff --git a/src/OpenFOAM/meshes/pointMesh/pointMesh.H b/src/OpenFOAM/meshes/pointMesh/pointMesh.H index e6ac279761..28180b1252 100644 --- a/src/OpenFOAM/meshes/pointMesh/pointMesh.H +++ b/src/OpenFOAM/meshes/pointMesh/pointMesh.H @@ -85,6 +85,10 @@ public: explicit pointMesh(const polyMesh& pMesh); + //- Destructor + ~pointMesh(); + + // Member Functions //- Return number of points