BUG: ensight writer using incorrect first mesh time (fixes #1273)

- used fallback of 0 instead of the results time.
  This discrepancy caused the case file to have two timesets that
  only differed by the first (incorrect) entry.
This commit is contained in:
Mark Olesen
2019-04-08 16:58:47 +02:00
parent 708e650990
commit cd0976cedf

View File

@ -98,7 +98,7 @@ Foam::fileName Foam::surfaceWriters::ensightWriter::writeCollated
mkDir(outputFile.path()); mkDir(outputFile.path());
} }
scalar meshValue = 0; scalar meshValue = timeValue;
label meshIndex = 0; label meshIndex = 0;
label timeIndex = 0; label timeIndex = 0;