[Carpet] Carpet output

Frank Loeffler frank.loeffler at aei.mpg.de
Wed Oct 11 16:59:39 CEST 2006


Hi,

Giovanni Corvino wrote:
> carpet::max_refinement_levels			= 5

> I save HDF5 every 100 iterations and we noticed that the first saved
> iteration had all the rl as the 5th, the 9th, 13th and so on.

> The question is: is this behaviour normal?

Yes. If you want to have data of all refinement levels you should output 
them at a time when every level is evolved. With 
max_refinement_levels=5, this is every 16 iterations or multiples of 
this. This explains also why you only have output of all levels at the 
1st, 5th, 9th output time. This is at the 0th, 400th, 800th timestep, 
with 400 being the first multiple of 100 which is also a multiple of 16.

96 would be the closest multiple of 16 to 100, so you should try this.

Frank




More information about the developers mailing list