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

This commit is contained in:
Mark Olesen
2019-11-11 08:54:05 +01:00
committed by Andrew Heather
parent 71de630722
commit 52d2643994

View File

@ -100,7 +100,7 @@ Foam::functionObjects::fieldValues::surfaceFieldValue::getFieldValues
{ {
const interpolationCellPoint<Type> interp(fld); const interpolationCellPoint<Type> interp(fld);
return sampledPtr_().sample(interp); return sampledPtr_().interpolate(interp);
} }
else else
{ {