ENH: old-time field: avoid reading in postprocessing mode. Fixes #1228.

This commit is contained in:
mattijs
2019-03-06 11:35:16 +00:00
committed by Andrew Heather
parent ebb6a0272e
commit aafbca93b2
4 changed files with 11 additions and 10 deletions

View File

@ -143,7 +143,7 @@ void MapVolFields
for (const word& fieldName : fieldNames)
{
const fieldType fieldSource(*(objects[fieldName]), meshSource);
const fieldType fieldSource(*(objects[fieldName]), meshSource, false);
IOobject targetIO
(
@ -158,7 +158,7 @@ void MapVolFields
Info<< " interpolating onto existing field "
<< fieldName << endl;
fieldType fieldTarget(targetIO, meshTarget);
fieldType fieldTarget(targetIO, meshTarget, false);
interp.mapSrcToTgt(fieldSource, cop, fieldTarget);