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

BUG: surfaceInterpolate function object - corrected evaluation. Foxes #335

parent 482f8cee
Branches
Tags
No related merge requests found
......@@ -50,21 +50,20 @@ void Foam::functionObjects::surfaceInterpolate::interpolateFields()
if (fieldMap.found(fld.name()))
{
//const word sName = "interpolate(" + fld.name() + ')';
// const word sName = "interpolate(" + fld.name() + ')';
word& sName = fieldMap[fld.name()];
if (obr_.found(sName))
{
Log << " surface field " << sName << " already exists"
<< endl;
Log << " updating field " << sName << endl;
}
else
{
store(sName, linearInterpolate(fld));
Log << " interpolated " << fld.name() << " to create "
Log << " interpolating " << fld.name() << " to create "
<< sName << endl;
}
store(sName, linearInterpolate(fld));
}
}
}
......
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