Revert "Untested changes to compute geometric information from segmented images -- must check build"

This reverts commit 6cc6743ee6.
This commit is contained in:
James E McClure committed 2016-02-28 17:56:57 -05:00
1 parent c6e3004101
commit a6e9bf3dd1
3 files changed
+8 -50

No files matched your search

+7 -13
View File
@@ -246,27 +246,21 @@ int main(int argc, char **argv)
// fclose(PHASE);
double beta = 0.95;
int timestep=5;
if (rank==0) printf("initializing the system \n");
Averages.Initialize();
Averages.UpdateSolid();
Averages.UpdateMeshValues();
Dm.CommunicateMeshHalo(Averages.Phase);
Dm.CommunicateMeshHalo(Averages.SDn);
Dm.CommunicateMeshHalo(Averages.SDs);
if (rank==0) printf("Computing the averages \n");
Averages.ComputeLocal();
Averages.Reduce();
int timestep=5;
Averages.Initialize();
if (rank==0) printf("computing phase components \n");
Averages.ComponentAverages();
if (rank==0) printf("sorting phase components \n");
Averages.SortBlobs();
Averages.PrintComponents(timestep);
if (rank==0) printf("Printing geometric averages \n");
Averages.PrintGeometry(timestep);
/* Averages.Initialize();
Averages.ComponentAverages();
Averages.SortBlobs();
Averages.PrintComponents(timestep);
*/
MPI_Barrier(comm);
MPI_Finalize();
return 0;