CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Two dimensional cubic spline interpolation (http://www.cfd-online.com/Forums/main/14326-two-dimensional-cubic-spline-interpolation.html)

flappingwing2008 October 29, 2007 12:17

Two dimensional cubic spline interpolation
 
Dear all:

I want to interpolate a given function f(x,y) on a two dimensional grid. I have the values of funtion on grid points. I want to interpolate the value of funtion, its fist derivative w.r.t x and y, its second drivative w.r.t. x and y, and mixed derivative at a known point in the grid.

Is there any good reference or test code?Please help me. thanks you!


Harish October 29, 2007 12:33

Re: Two dimensional cubic spline interpolation
 
www.netlib.org

flappingwing2008 October 30, 2007 13:53

Re: Two dimensional cubic spline interpolation
 
i can't find the code in that web! anybody else can help me?

margarita November 12, 2007 11:14

Re: Two dimensional cubic spline interpolation
 
Hi,

I have used Matlab cubis spline interpolation. It's work well.

Margarita.

Gerrit November 19, 2007 06:52

Re: Two dimensional cubic spline interpolation
 
I don't happen to be up to date anymore, but maybe you can find something at:

http://www.nr.com/

Or on the free online part:

http://www.nrbook.com/a/bookfpdf/f3-6.pdf

It's good old Fortran 77 and includes a short explanation about how stuff works.


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