Commit 52d26439 authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

BUG: surfaceFieldValue interpolate on sampled surface fails (fixes #1488)

parent 71de6307
......@@ -100,7 +100,7 @@ Foam::functionObjects::fieldValues::surfaceFieldValue::getFieldValues
{
const interpolationCellPoint<Type> interp(fld);
return sampledPtr_().sample(interp);
return sampledPtr_().interpolate(interp);
}
else
{
......
Supports Markdown
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