Commit 5f45ef68 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Update parallel description comments

parent 11386413
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -326,6 +326,9 @@ void cluster(const string& config_file, const string& data_file, const string& o
	return;
      }

      //==================================================
      // do the first outputs here, so that I open here the new files, afterwards I only append
      //==================================================
      vtppoanp->write_to_disk(output_path + "/c_TPPOAN");
      delete vtppoanp;

@@ -420,8 +423,8 @@ void cluster(const string& config_file, const string& data_file, const string& o
	  // the parallel loop over MPI processes covers a different set of indices for each thread
#pragma omp barrier
	  int myjxi488 = ixi488+myompthread;
	  vtppoanp_2 = new VirtualBinaryFile();
	  // each thread opens new virtual files and stores their pointers in the shared array
	  vtppoanp_2 = new VirtualBinaryFile();
	  // each thread puts a copy of the pointers to its virtual files in the shared arrays
	  vtppoanarray[myompthread] = vtppoanp_2;
#pragma omp barrier