mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: genericPointPatchField removed "value" entry (fixes #1474)
This commit is contained in:
committed by
Andrew Heather
parent
aaa27eaeec
commit
528ceff836
@ -701,6 +701,7 @@ void Foam::genericFaPatchField<Type>::write(Ostream& os) const
|
|||||||
|
|
||||||
if (key == "type" || key == "value")
|
if (key == "type" || key == "value")
|
||||||
{
|
{
|
||||||
|
// NB: "type" written first, "value" written last
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if
|
else if
|
||||||
|
|||||||
@ -699,6 +699,7 @@ void Foam::genericFvsPatchField<Type>::write(Ostream& os) const
|
|||||||
|
|
||||||
if (key == "type" || key == "value")
|
if (key == "type" || key == "value")
|
||||||
{
|
{
|
||||||
|
// NB: "type" written first, "value" written last
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if
|
else if
|
||||||
|
|||||||
@ -480,8 +480,9 @@ void Foam::genericPointPatchField<Type>::write(Ostream& os) const
|
|||||||
{
|
{
|
||||||
const keyType& key = dEntry.keyword();
|
const keyType& key = dEntry.keyword();
|
||||||
|
|
||||||
if (key == "type" || key == "value")
|
if (key == "type")
|
||||||
{
|
{
|
||||||
|
// NB: "type" written first, no special treatment for "value"
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else if
|
else if
|
||||||
|
|||||||
Reference in New Issue
Block a user