CFD Online Discussion Forums

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

tonyuprm July 7, 2010 12: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 13: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 00:36.