mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: old-time field: avoid reading in postprocessing mode. Fixes #1228.
This commit is contained in:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user