Commits

Devin Silvia  committed 4323924

changed the output filename string for the intermediate data dumps

  • Participants
  • Parent commits ffd63cb

Comments (0)

Files changed (1)

File templates/rates_and_rate_tables.c.template

             }
         }
         if (rv == 0) {
-	    if (siter == 9999) break;
+	    if (siter == 99999) break;
 	    siter++;
             fprintf(stderr, "Successful Iteration[%d]: %0.16g / %0.16g\n",
                      siter, dt, dtf);
 	    {% if network.write_intermediate_solutions %}
 	    /* Write intermediate  results to HDF5 file */
 	    char imfilename[30];
-	    sprintf(imfilename,"{{ solver_name  }}_intermediate_%04d.h5", siter);
+	    sprintf(imfilename,"{{ solver_name  }}_intermediate_%06d.h5", siter);
     	    file_id = H5Fcreate(imfilename, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
     	    hsize_t dimsarr[1];
     	    dimsarr[0] = dims;