diff --git a/applications/utilities/miscellaneous/foamFormatConvert/fieldDictionary.H b/src/meshTools/sets/cellSources/fieldToCell/fieldDictionary.H similarity index 100% rename from applications/utilities/miscellaneous/foamFormatConvert/fieldDictionary.H rename to src/meshTools/sets/cellSources/fieldToCell/fieldDictionary.H diff --git a/src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C b/src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C index dd5a540f69..e88c08db31 100644 --- a/src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C +++ b/src/meshTools/sets/cellSources/fieldToCell/fieldToCell.C @@ -28,6 +28,7 @@ License #include "cellSet.H" #include "Time.H" #include "IFstream.H" +#include "fieldDictionary.H" #include "addToRunTimeSelectionTable.H" @@ -207,7 +208,7 @@ void Foam::fieldToCell::applyToSet IFstream str(fieldObject.filePath()); // Read dictionary - dictionary fieldDict(str); + fieldDictionary fieldDict(fieldObject, fieldObject.headerClassName()); scalarField internalVals("internalField", fieldDict, mesh().nCells()); @@ -218,7 +219,7 @@ void Foam::fieldToCell::applyToSet IFstream str(fieldObject.filePath()); // Read dictionary - dictionary fieldDict(str); + fieldDictionary fieldDict(fieldObject, fieldObject.headerClassName()); vectorField internalVals("internalField", fieldDict, mesh().nCells());