BUG: Function objects - updated to enable user time emtries, e.g. if using engineTime. Fixes #437

This commit is contained in:
Andrew Heather
2017-03-21 13:32:55 +00:00
parent 6ebaa63d1c
commit 69bc13f300
12 changed files with 53 additions and 30 deletions

View File

@ -45,7 +45,7 @@ void Foam::patchProbes::sampleAndWrite
probeStream
<< setw(w)
<< vField.time().timeToUserTime(vField.time().value());
<< vField.time().timeOutputValue();
forAll(values, probei)
{
@ -71,7 +71,7 @@ void Foam::patchProbes::sampleAndWrite
probeStream
<< setw(w)
<< sField.time().timeToUserTime(sField.time().value());
<< sField.time().timeOutputValue();
forAll(values, probei)
{

View File

@ -76,7 +76,7 @@ void Foam::probes::sampleAndWrite
unsigned int w = IOstream::defaultPrecision() + 7;
OFstream& os = *probeFilePtrs_[vField.name()];
os << setw(w) << vField.time().timeToUserTime(vField.time().value());
os << setw(w) << vField.time().timeOutputValue();
forAll(values, probei)
{
@ -100,7 +100,7 @@ void Foam::probes::sampleAndWrite
unsigned int w = IOstream::defaultPrecision() + 7;
OFstream& os = *probeFilePtrs_[sField.name()];
os << setw(w) << sField.time().timeToUserTime(sField.time().value());
os << setw(w) << sField.time().timeOutputValue();
forAll(values, probei)
{