Skip to content
Snippets Groups Projects
Commit 91dca0eb authored by mattijs's avatar mattijs
Browse files

ENH: polyPatch: make clearing of geometry virtual

parent e9de9f87
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -65,6 +65,12 @@ void Foam::polyPatch::updateMesh(PstreamBuffers&) ...@@ -65,6 +65,12 @@ void Foam::polyPatch::updateMesh(PstreamBuffers&)
} }
void Foam::polyPatch::clearGeom()
{
primitivePatch::clearGeom();
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::polyPatch::polyPatch Foam::polyPatch::polyPatch
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -116,6 +116,9 @@ protected: ...@@ -116,6 +116,9 @@ protected:
//- Update of the patch topology //- Update of the patch topology
virtual void updateMesh(PstreamBuffers&); virtual void updateMesh(PstreamBuffers&);
//- Clear geometry
virtual void clearGeom();
public: public:
...@@ -338,7 +341,7 @@ public: ...@@ -338,7 +341,7 @@ public:
const labelList& meshEdges() const; const labelList& meshEdges() const;
//- Clear addressing //- Clear addressing
void clearAddressing(); virtual void clearAddressing();
// Other patch operations // Other patch operations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment