Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
91dca0eb
Commit
91dca0eb
authored
12 years ago
by
mattijs
Browse files
Options
Downloads
Patches
Plain Diff
ENH: polyPatch: make clearing of geometry virtual
parent
e9de9f87
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.C
+7
-1
7 additions, 1 deletion
...penFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.C
src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H
+5
-2
5 additions, 2 deletions
...penFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H
with
12 additions
and
3 deletions
src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.C
+
7
−
1
View file @
91dca0eb
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
src/OpenFOAM/meshes/polyMesh/polyPatches/polyPatch/polyPatch.H
+
5
−
2
View file @
91dca0eb
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment