diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.C index 711461d352bd7b81c6c7bb3a1713b23effd3f015..e22381b7dd61bc3b1fced49258b2943f451bc313 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -65,6 +65,12 @@ void Foam::polyPatch::updateMesh(PstreamBuffers&) } +void Foam::polyPatch::clearGeom() +{ + primitivePatch::clearGeom(); +} + + // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // Foam::polyPatch::polyPatch diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H b/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H index 0fa859bddbaf6da4dd63784e917103a02f40462d..dd06c031950ed05ea39bc3c819b23a99ccddc8e4 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -116,6 +116,9 @@ protected: //- Update of the patch topology virtual void updateMesh(PstreamBuffers&); + //- Clear geometry + virtual void clearGeom(); + public: @@ -338,7 +341,7 @@ public: const labelList& meshEdges() const; //- Clear addressing - void clearAddressing(); + virtual void clearAddressing(); // Other patch operations