functionObjects::volRegion: Cache integral properties for writeFileHeader

This commit is contained in:
Henry Weller
2016-08-24 09:32:34 +01:00
parent 428b1d8866
commit 5c9b80a083
4 changed files with 15 additions and 6 deletions

View File

@ -124,7 +124,7 @@ void Foam::functionObjects::writeFile::writeCommented
) const
{
os << setw(1) << "#" << setw(1) << ' '
<< setw(charWidth() - 2) << str.c_str();
<< setf(ios_base::left) << setw(charWidth() - 2) << str.c_str();
}