[FLASH-USERS] read FLASH hdf5 with C++
Samuel Friedman
friedman at astro.wisc.edu
Tue May 4 12:14:50 EDT 2010
I found that the map_uniform example replicates loaddata.pro. The only
thing is that some variables needed to be weighted when being loaded in.
For velocities, I had to multiply them by the mass (density x volume) at
each grid point. It has worked for me.
Sam
On Tue, 4 May 2010, Nathan Hearn wrote:
> Hi Silvia,
>
> I have written an interface to Flash HDF5 AMR files as a C++
> library called QuickFlash, which is available at
>
> http://quickflash.sourceforge.net
>
> It also includes a Python interface to the essential functions within
> the library. QuickFlash supports on-demand block loading with caching
> and buffers, so it is fast and uses a fairly small amount of memory,
> even for many-gigabyte datasets.
>
> I should note that, while QuickFlash can be used to easily extract
> values to build a uniform mesh, there are no mesh interpolation
> routines at this time. (Currently, I am trying to develop a general
> interface to allow different means of handling fine-course grid
> transitions.) The version available on the SourceForge downloads page
> is a bit old, but I should have a new one with better documentation
> and more features soon.
>
> If you have any questions, please let me know.
>
>
> - Nathan
>
>
>
More information about the flash-users
mailing list