22 SetId(
"InitialFromFile");
42 std::ostringstream path_with_filename;
43 path_with_filename << initialProfilePath <<
"/event-" << event_id_
45 JSINFO <<
"External initial profile path is" << path_with_filename.str();
48 std::ostringstream event_group;
50 event_group <<
"/event_0";
51 JSINFO <<
"event_group=" << event_group.str().c_str();
52 H5file_ptr_ = H5Fopen(path_with_filename.str().c_str(), H5F_ACC_RDONLY,
60 status = H5Gclose(H5group_ptr_);
63 }
catch (std::exception &
err) {
89 double temp_data[dimx][dimy];
90 auto status = H5Dread(
dataset, H5T_NATIVE_DOUBLE, H5S_ALL, H5S_ALL,
91 H5P_DEFAULT, temp_data);
92 for (
int i = 0;
i < dimx;
i++) {
93 for (
int j = 0;
j < dimy;
j++) {
105 double temp_data[dimx][dimy];
106 auto status = H5Dread(
dataset, H5T_NATIVE_DOUBLE, H5S_ALL, H5S_ALL,
107 H5P_DEFAULT, temp_data);
108 for (
int i = 0;
i < dimx;
i++) {
109 for (
int j = 0;
j < dimy;
j++) {