mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Function objects - first pass at updating read functionality
Note: should be using the result of the parent::read(dict) when deciding whether to read local entries...
This commit is contained in:
@ -122,6 +122,8 @@ Foam::functionObjects::writeDictionary::~writeDictionary()
|
||||
|
||||
bool Foam::functionObjects::writeDictionary::read(const dictionary& dict)
|
||||
{
|
||||
regionFunctionObject::read(dict);
|
||||
|
||||
wordList dictNames(dict.lookup("dictNames"));
|
||||
HashSet<word> uniqueNames(dictNames);
|
||||
dictNames_ = uniqueNames.toc();
|
||||
|
||||
Reference in New Issue
Block a user