mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
genericPolyPatch: Avoid writing duplicate entry for "inGroups" and "faces"
Resolves bug-report https://bugs.openfoam.org/view.php?id=2955
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -132,6 +132,8 @@ void Foam::genericPolyPatch::write(Ostream& os) const
|
||||
iter().keyword() != "type"
|
||||
&& iter().keyword() != "nFaces"
|
||||
&& iter().keyword() != "startFace"
|
||||
&& iter().keyword() != "inGroups"
|
||||
&& iter().keyword() != "faces"
|
||||
)
|
||||
{
|
||||
iter().write(os);
|
||||
|
||||
Reference in New Issue
Block a user