CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

interpolateXY no matching function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2010, 12:43
Default interpolateXY no matching function
  #1
Member
 
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16
tonyuprm is on a distinguished road
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 is offline   Reply With Quote

Old   July 7, 2010, 13:00
Default Field
  #2
Member
 
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 16
tonyuprm is on a distinguished road
Hi all,

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

Tony
tonyuprm is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 10:31
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 01:35
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00


All times are GMT -4. The time now is 23:54.