CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Two dimensional cubic spline interpolation (https://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.

 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.

 IRP December 22, 2016 22:55

Interpolating splines in 3D space

Hello every one

I want to interpolate a given points(x,y,z) on a three dimensional grid by fortran or C++.
Can anyone point to me about the interpolating splines in 3D space coding procedure by FORTRAN or C++.

Thanks

 All times are GMT -4. The time now is 21:51.