porousZone - output 'note' entry (if it exists) too

This commit is contained in:
Mark Olesen
2009-07-13 09:27:38 +02:00
committed by andy
parent 773c6e9cd2
commit 222d3e41f6

View File

@ -370,6 +370,12 @@ void Foam::porousZone::writeDict(Ostream& os, bool subDict) const
<< indent << token::BEGIN_BLOCK << incrIndent << nl;
}
if (dict_.found("note"))
{
os.writeKeyword("note") << string(dict_.lookup("note"))
<< token::END_STATEMENT << nl;
}
coordSys_.writeDict(os, true);
if (dict_.found("porosity"))