Loading src/cluster/cluster.cpp +934 −934 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ void cluster(string config_file, string data_file, string output_path) { fprintf(output, " \n"); } for (int jxi488 = 1; jxi488 <= nxi; jxi488++) { printf("INFO: running scale iteration...\n"); printf("INFO: running scale iteration %d...", jxi488); int jaw = 1; fprintf(output, "========== JXI =%3d ====================\n", jxi488); double xi = sconf->scale_vec[jxi488 - 1]; Loading Loading @@ -298,15 +298,15 @@ void cluster(string config_file, string data_file, string output_path) { } if (jer != 0) break; } // i132 loop printf("INFO: initializing matrix..."); //printf("INFO: initializing matrix..."); cms(am, c1, c1ao, c4, c6); printf(" done.\n"); //printf(" done.\n"); //ccsam = summat(am, 960, 960); //printf("DEBUG: after CMS CCSAM = (%lE,%lE)\n", ccsam.real(), ccsam.imag()); int ndit = 2 * nsph * c4->nlim; printf("INFO: inverting matrix..."); //printf("INFO: inverting matrix..."); lucin(am, mxndm, ndit, jer); printf(" done.\n"); //printf(" done.\n"); //ccsam = summat(am, 960, 960); //printf("DEBUG: after LUCIN CCSAM = (%lE,%lE)\n", ccsam.real(), ccsam.imag()); if (jer != 0) break; // jxi488 loop: goes to memory clean Loading Loading @@ -334,7 +334,7 @@ void cluster(string config_file, string data_file, string output_path) { } ttms_file.close(); } else { // Could not open TM file. Should never occur. printf("ERROR: failed to open TTMS file.\n"); printf("\nERROR: failed to open TTMS file.\n"); break; } } Loading Loading @@ -881,11 +881,11 @@ void cluster(string config_file, string data_file, string output_path) { } // jph484 loop th += thstp; } // jth486 loop printf("INFO: done scale.\n"); printf(" done.\n"); } // jxi488 loop tppoan.close(); } else { // In case TPPOAN could not be opened. Should never happen. printf("ERROR: failed to open TPPOAN file.\n"); printf("\nERROR: failed to open TPPOAN file.\n"); } fclose(output); // Clean memory Loading Loading
src/cluster/cluster.cpp +934 −934 Original line number Diff line number Diff line Loading @@ -248,7 +248,7 @@ void cluster(string config_file, string data_file, string output_path) { fprintf(output, " \n"); } for (int jxi488 = 1; jxi488 <= nxi; jxi488++) { printf("INFO: running scale iteration...\n"); printf("INFO: running scale iteration %d...", jxi488); int jaw = 1; fprintf(output, "========== JXI =%3d ====================\n", jxi488); double xi = sconf->scale_vec[jxi488 - 1]; Loading Loading @@ -298,15 +298,15 @@ void cluster(string config_file, string data_file, string output_path) { } if (jer != 0) break; } // i132 loop printf("INFO: initializing matrix..."); //printf("INFO: initializing matrix..."); cms(am, c1, c1ao, c4, c6); printf(" done.\n"); //printf(" done.\n"); //ccsam = summat(am, 960, 960); //printf("DEBUG: after CMS CCSAM = (%lE,%lE)\n", ccsam.real(), ccsam.imag()); int ndit = 2 * nsph * c4->nlim; printf("INFO: inverting matrix..."); //printf("INFO: inverting matrix..."); lucin(am, mxndm, ndit, jer); printf(" done.\n"); //printf(" done.\n"); //ccsam = summat(am, 960, 960); //printf("DEBUG: after LUCIN CCSAM = (%lE,%lE)\n", ccsam.real(), ccsam.imag()); if (jer != 0) break; // jxi488 loop: goes to memory clean Loading Loading @@ -334,7 +334,7 @@ void cluster(string config_file, string data_file, string output_path) { } ttms_file.close(); } else { // Could not open TM file. Should never occur. printf("ERROR: failed to open TTMS file.\n"); printf("\nERROR: failed to open TTMS file.\n"); break; } } Loading Loading @@ -881,11 +881,11 @@ void cluster(string config_file, string data_file, string output_path) { } // jph484 loop th += thstp; } // jth486 loop printf("INFO: done scale.\n"); printf(" done.\n"); } // jxi488 loop tppoan.close(); } else { // In case TPPOAN could not be opened. Should never happen. printf("ERROR: failed to open TPPOAN file.\n"); printf("\nERROR: failed to open TPPOAN file.\n"); } fclose(output); // Clean memory Loading