ENH: functionObjectFile - added standardised function for writing values

This commit is contained in:
andy
2013-11-25 10:51:44 +00:00
parent b0ca0d9dde
commit 18ae63051b
2 changed files with 25 additions and 1 deletions

View File

@ -147,6 +147,12 @@ void Foam::functionObjectFile::resetName(const word& name)
}
Foam::Omanip<int> Foam::functionObjectFile::valueWidth(const label offset) const
{
return setw(IOstream::defaultPrecision() + 7 + offset);
}
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::functionObjectFile::functionObjectFile