Band-limited Fourier interpolation: Difference between revisions

From Fluids Wiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


== Discussion ==
== Discussion ==
There have been many important bug fixes in the latest commit. Update your version with 'git pull' or do a new clone using the aforementioned 'git clone' command. Type 'git log' to see what the recent changes are.


It might be useful to re-do this with the SPINS/blitz C++ framework for bigger jobs using distributed memory (MPI). I think it would be
It might be useful to re-do this with the SPINS/blitz C++ framework for bigger jobs using distributed memory (MPI). I think it would be

Revision as of 09:20, 8 November 2012

Given some 1D or 2D periodic function sampled at equispaced points, there are a number of reasons why you may want to be able to construct an interpolant the correctly interpolates the data to an arbitrary set of points. This can be done with the matlab functions bandLimFourierInterp1D.m & bandLimFourierInterp2D.m (written by Derek).

Installing bandLimFourierInterp

Get the most recent version from the git repository hosted on belize:

git clone http://belize.math.uwaterloo.ca/~dsteinmo/bandLimFourierInterp.git

That will create a directory called bandLimFourierInterp/ wherever you called the command. The two functions mentioned above are inside that folder. The sub-directory bandLimFourierInterp/tests/ contains some 1D & 2D test cases/examples.

Discussion

There have been many important bug fixes in the latest commit. Update your version with 'git pull' or do a new clone using the aforementioned 'git clone' command. Type 'git log' to see what the recent changes are.

It might be useful to re-do this with the SPINS/blitz C++ framework for bigger jobs using distributed memory (MPI). I think it would be straight-forward to do. If anyone wants to give this an attempt, I can help/provide my input. --Derek.

(Your comments go here).