Commit 4575b54c authored by Mark Olesen's avatar Mark Olesen

COMP: adjust for change in dictionary read/readEntry

parent 2ac2c5ec
...@@ -143,7 +143,7 @@ bool Foam::catalyst::faMeshInput::read(const dictionary& dict) ...@@ -143,7 +143,7 @@ bool Foam::catalyst::faMeshInput::read(const dictionary& dict)
// Restrict to specified meshes // Restrict to specified meshes
meshes_.filterKeys(selectAreas_); meshes_.filterKeys(selectAreas_);
dict.read("fields", selectFields_); dict.readEntry("fields", selectFields_);
return true; return true;
} }
......
...@@ -192,8 +192,8 @@ bool Foam::functionObjects::catalystFunctionObject::read(const dictionary& dict) ...@@ -192,8 +192,8 @@ bool Foam::functionObjects::catalystFunctionObject::read(const dictionary& dict)
Foam::mkDir(outputDir_); Foam::mkDir(outputDir_);
} }
dict.read("scripts", scripts_); // Python scripts dict.readEntry("scripts", scripts_); // Python scripts
expand(scripts_, dict); // Expand and check availability expand(scripts_, dict); // Expand and check availability
// Any changes detected // Any changes detected
......
...@@ -156,7 +156,7 @@ bool Foam::catalyst::fvMeshInput::read(const dictionary& dict) ...@@ -156,7 +156,7 @@ bool Foam::catalyst::fvMeshInput::read(const dictionary& dict)
// Restrict to specified meshes // Restrict to specified meshes
meshes_.filterKeys(selectRegions_); meshes_.filterKeys(selectRegions_);
dict.read("fields", selectFields_); dict.readEntry("fields", selectFields_);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment