Skip to content

fixes read_moments iteration range

Cristian Lalescu requested to merge fix/read_stats into master

DNS.statistics['iter1'] should by default be the last iteration performed by the DNS. If DNS.statistics['iter0'] is equal to the last iteration as well, all statistics should be read correctly (as currently done in DNS.compute_statistics).

This fixes that by making DNS.read_histogram and DNS.read_moments consistent with DNS.compute_statistics.

Note: this may break existing postprocessing codes, hence the review request.

Edited by Cristian Lalescu

Merge request reports