fixes
authorAnatoly Titov <toluk@omrb.pnpi.spb.ru>
Sun, 14 May 2017 14:45:38 +0000 (17:45 +0300)
committerAnatoly Titov <toluk@omrb.pnpi.spb.ru>
Sun, 14 May 2017 14:45:38 +0000 (17:45 +0300)
src/spacetimecorr.cpp

index 89343138cba88099fec7664517fe6c9fd6287b74..bfb4c2ca40d54968bcca140902d737381c50be9e 100644 (file)
@@ -435,7 +435,7 @@ Domains::analyzeFrame(int frnr, const t_trxframe &fr, t_pbc *pbc,
 void
 Domains::finishAnalysis(int nframes)
 {
-    make_pdb_trajectory(frankenstein_trajectory, "/home/toluk/Develop/samples/reca_rd/10k_frames.pdb");
+    //make_pdb_trajectory(frankenstein_trajectory, "/home/toluk/Develop/samples/reca_rd/10k_frames.pdb");
 
     //frankenstein_trajectory = trajectory;
 
@@ -524,7 +524,7 @@ Domains::finishAnalysis(int nframes)
         }
     }
 
-    make_correlation_file(crltns, "corrs.txt", m);
+    //make_correlation_file(crltns, "corrs.txt", m);
 
     for (int i1 = 20; i1 < 70; i1++) {
         int i5 = 0;
@@ -664,7 +664,15 @@ Domains::finishAnalysis(int nframes)
         }
     }
 
-    make_rout_file(index, rout_new, "routs.txt");
+    //make_rout_file(index, rout_new, "routs.txt");
+
+    for (int i = 0; i < rout_new.size(); i++) {
+        for (int j = 0; j < rout_new[i].size(); j++) {
+            std::cout << index[rout_new[i][j]] << " ";
+        }
+        std::cout << "\n";
+    }
+
     std::cout << "\n\n\n job done \n\n\n";
 }