ENH: Added proc no to output or min/max field function object

This commit is contained in:
andy
2012-05-04 11:23:11 +01:00
parent bd075a3c9f
commit b30ad82fc9
2 changed files with 80 additions and 13 deletions

View File

@ -157,9 +157,22 @@ void Foam::fieldMinMax::writeFileHeader()
{
fieldMinMaxFilePtr_()
<< "# Time" << token::TAB << "field" << token::TAB
<< "min" << token::TAB << "position(min)" << token::TAB
<< "max" << token::TAB << "position(max)" << token::TAB
<< endl;
<< "min" << token::TAB << "position(min)";
if (Pstream::parRun())
{
fieldMinMaxFilePtr_() << token::TAB << "proc";
}
fieldMinMaxFilePtr_()
<< token::TAB << "max" << token::TAB << "position(max)";
if (Pstream::parRun())
{
fieldMinMaxFilePtr_() << token::TAB << "proc";
}
fieldMinMaxFilePtr_() << endl;
}
}