Re: Possible bug in reading initial conditions from HDF5 format

From: Volker Springel <volker_at_MPA-Garching.MPG.DE>
Date: Sat, 13 Nov 2010 09:35:45 +0100

Hi Christian,

You are right of course, thanks for pointing this out.

Actually, the same issue was pointed out to me recently by Gabriel Altay on Oct 20, and I had fixed it at the time in the code.

Thanks,
Volker

On Nov 12, 2010, at 3:51 PM, Christian Schultz wrote:

> I believe I have found a bug (or at least an undesired feature) when Gadget reads initial conditions from an hdf5 file (I seem to be one of the few using HDF5 in Gadget).
>
> In the read_ic.c function read_header_attributes_in_hdf5, Gadget looks for a header option NumPart_Total_HighWord. However, when writing snapshot files this parameter is called NumPart_Total_HW (which is also the name given in the user's guide).
>
> It's a small issue, but I guess it could potentially give problems if it's supposed to be different than 0.
>
> Christian Schultz
>
> -----------------------------------------------------------
>
> If you wish to unsubscribe from this mailing, send mail to
> minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
> A web-archive of this mailing list is available here:
> http://www.mpa-garching.mpg.de/gadget/gadget-list
Received on 2010-11-13 09:35:46

This archive was generated by hypermail 2.3.0 : 2022-09-01 14:03:42 CEST