BUG: genericPointPatchField removed "value" entry (fixes #1474)

This commit is contained in:
Mark Olesen
2019-11-03 10:47:44 +01:00
committed by Andrew Heather
parent aaa27eaeec
commit 528ceff836
3 changed files with 4 additions and 1 deletions

View File

@ -701,6 +701,7 @@ void Foam::genericFaPatchField<Type>::write(Ostream& os) const
if (key == "type" || key == "value")
{
// NB: "type" written first, "value" written last
continue;
}
else if

View File

@ -699,6 +699,7 @@ void Foam::genericFvsPatchField<Type>::write(Ostream& os) const
if (key == "type" || key == "value")
{
// NB: "type" written first, "value" written last
continue;
}
else if

View File

@ -480,8 +480,9 @@ void Foam::genericPointPatchField<Type>::write(Ostream& os) const
{
const keyType& key = dEntry.keyword();
if (key == "type" || key == "value")
if (key == "type")
{
// NB: "type" written first, no special treatment for "value"
continue;
}
else if