Skip to content

Commit

Permalink
Merge pull request CompFUSE#307 from PDoakORNL/fix_main_analysis_hdf5…
Browse files Browse the repository at this point in the history
…_read

multistep hdf5 writing fix for main analysis
  • Loading branch information
PDoakORNL authored Jul 19, 2023
2 parents 2499052 + 6b4ecb3 commit b825e4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/dca/phys/dca_data/dca_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,12 @@ void DcaData<Parameters, DT>::read(adios2::ADIOS& adios, std::string filename) {

template <class Parameters, DistType DT>
void DcaData<Parameters, DT>::read(dca::io::Reader<typename Parameters::concurrency_type>& reader) {

std::size_t step_count = reader.getStepCount();
for (std::size_t i = 0; i < step_count; ++i) {
reader.begin_step();
}

reader.open_group("parameters");

reader.open_group("physics");
Expand Down

0 comments on commit b825e4f

Please sign in to comment.