Skip to content
Snippets Groups Projects
Commit 57d81c17 authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: runTimePostProcessing - updated due to changes in stateFunctionObject

parent 91d5efdc
Branches
Tags
No related merge requests found
...@@ -89,20 +89,23 @@ addGeometryToScene ...@@ -89,20 +89,23 @@ addGeometryToScene
return; return;
} }
const dictionary dict = dictionary dict;
geometryBase::parent_.getObjectProperty if (!geometryBase::parent_.getObjectDict(functionObject_, fieldName_, dict))
( {
functionObject_, WarningInFunction
fieldName_, << "Unable to find function object " << functionObject_
dictionary::null << " output for field " << fieldName_
); << ". Line will not be processed"
<< endl;
return;
}
fileName fName; fileName fName;
if (!dict.readIfPresent("file", fName)) if (!dict.readIfPresent("file", fName))
{ {
WarningInFunction WarningInFunction
<< "Unable to find function object " << functionObject_ << "Unable to read file name from function object "
<< " output for field " << fieldName_ << functionObject_ << " for field " << fieldName_
<< ". Line will not be processed" << ". Line will not be processed"
<< endl; << endl;
return; return;
......
...@@ -93,21 +93,24 @@ addGeometryToScene ...@@ -93,21 +93,24 @@ addGeometryToScene
return; return;
} }
const dictionary dict = dictionary dict;
geometryBase::parent_.getObjectProperty if (!geometryBase::parent_.getObjectDict(functionObject_, fieldName_, dict))
( {
functionObject_, WarningInFunction
fieldName_, << "Unable to find function object " << functionObject_
dictionary::null << " output for field " << fieldName_
); << ". Surface will not be processed"
<< endl;
return;
}
fileName fName; fileName fName;
if (!dict.readIfPresent("file", fName)) if (!dict.readIfPresent("file", fName))
{ {
WarningInFunction WarningInFunction
<< "Unable to find function object " << functionObject_ << "Unable to read file name from function object "
<< " output for field " << fieldName_ << functionObject_ << " for field " << fieldName_
<< ". functionObjectSurface will not be processed" << ". Surface will not be processed"
<< endl; << endl;
return; return;
} }
......
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