Merge commit 'origin/master' into olesenm

This commit is contained in:
Mark Olesen
2008-06-06 14:04:52 +02:00
7 changed files with 29 additions and 18 deletions

View File

@ -231,14 +231,22 @@ bool Foam::probes::checkFieldTypes()
probeFilePtrs_.insert(fldName, sPtr);
*sPtr<< '#' << setw(IOstream::defaultPrecision() + 6)
<< "Time";
unsigned int w = IOstream::defaultPrecision() + 7;
forAll(probeLocations_, probeI)
for (direction cmpt=0; cmpt<vector::nComponents; cmpt++)
{
*sPtr << token::SPACE << probeLocations_[probeI];
*sPtr<< '#' << setw(IOstream::defaultPrecision() + 6)
<< vector::componentNames[cmpt];
forAll(probeLocations_, probeI)
{
*sPtr<< setw(w) << probeLocations_[probeI][cmpt];
}
*sPtr << endl;
}
*sPtr << endl;
*sPtr<< '#' << setw(IOstream::defaultPrecision() + 6)
<< "Time" << endl;
}
}