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:
Henry Weller
2018-05-24 14:38:33 +01:00
parent f14637a965
commit 63a185450b

View File

@ -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-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -132,6 +132,8 @@ void Foam::genericPolyPatch::write(Ostream& os) const
iter().keyword() != "type" iter().keyword() != "type"
&& iter().keyword() != "nFaces" && iter().keyword() != "nFaces"
&& iter().keyword() != "startFace" && iter().keyword() != "startFace"
&& iter().keyword() != "inGroups"
&& iter().keyword() != "faces"
) )
{ {
iter().write(os); iter().write(os);