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

This commit is contained in:
Mark Olesen
2009-07-13 09:27:38 +02:00
parent f1fbc24638
commit d01f653d32

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"))