CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   interpolateXY no matching function (https://www.cfd-online.com/Forums/openfoam/77913-interpolatexy-no-matching-function.html)

tonyuprm July 7, 2010 11:43

interpolateXY no matching function
 
Hi all,

I'm trying to do an interpolation using interpolateXY but I keep getting the following error:

error: no matching function for call to âinterpolateXY(Foam::scalar&, const Foam::List<double>&, const Foam::List<double>&)â

I've tried including the interpolateXY.H file and using Foam::interpolateXY but I still get the same error. The .C and .H files are on their respective folders. Any suggestions?

Thanks,

Tony

tonyuprm July 7, 2010 12:00

Field
 
Hi all,

The arguments must be Field<scalar> and not List<scalar>. This should work just fine.

Tony


All times are GMT -4. The time now is 19:34.