[FLASH-USERS] QuickFlash Interpolation Question

Nathan Hearn nhearn at ucar.edu
Wed Feb 17 14:11:18 EST 2010


On Wed, Feb 17, 2010 at 11:15, Samuel Friedman <friedman at astro.wisc.edu> wrote:
> 1)  I managed to create very easily a 3D uniform grid from AMR data by
> simply modifying the example routine in map_uniform.  Quite easy.
> 2)  fidlr's merge_amr routine calls either the IDL function congrid (in
> 2D) or rebin (in 3D).  In both cases, they simply use nearest neighbor
> sampling.  So I think the "interpolation" should be really easy to
> implement for QuickFlash.

Indeed, this sounds like something we could put together fairly easily.

> 3)  This is harder, but I tried using map_uniform on a simulation that
> used a uniform grid and QuickFlash gave me an error message (about an
> invalid neighbor code and that mesh information was not available).

Hmmm.... Were you using Flash's uniform grid mode, or did you make the
minimum and maximum refinement levels equal to each other?  I really
have not done any testing with the uniform grid mode.  Alternately,
you may have come across a bug that has been fixed.
If you wish to see the latest updates to the code -- but skip the
bleeding-edge stuff -- check out the latest trunk code via

svn co https://quickflash.svn.sourceforge.net/svnroot/quickflash/trunk
QuickFlash

> The main reason I looked into QuickFlash is that it was pretty much the
> ONLY set of tools outside of IDL avaiable for analysis.  Ultimately, I
> am looking for something without IDL's licensing agreement and fidlr3.0
> does not seem to work properly with GDL.

That was my original impetus for writing QuickFlash, as well.  There
seemed to be a big void in functionality and accessibility that
neither proprietary programming languages nor large analysis packages
could fill.  (And I am a fan of connecting libraries together to build
one's own tools.)

Thank you very much for your comments!


- Nathan



More information about the flash-users mailing list