From 8c91d2bcad7df7c647f1379483673183329ddfe8 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Tue, 05 Jul 2016 10:53:31 +0000 Subject: [PATCH] Fixed some bugs in cluster.c, added a line in cluster.h --- src/tspoststat.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/tspoststat.c b/src/tspoststat.c index 5fb1380..fdc822b 100644 --- a/src/tspoststat.c +++ b/src/tspoststat.c @@ -18,6 +18,7 @@ #include "shcomplex.h" #include "dumpstate.h" #include "restore.h" +#include "cluster.h" #include <string.h> #include <getopt.h> #include <sys/stat.h> @@ -103,6 +104,10 @@ fprintf(stdout,"%d %.17e %.17e %.17e %.17e %.17e %.17e\n",atoi(number),vesicle->volume, vesicle->area,l1,l2,l3, (ts_double)count_bonds_with_energy(vesicle->blist)/(ts_double)vesicle->blist->n), tstep++; + ts_cluster_list *cstlist=init_cluster_list(); + clusterize_vesicle(vesicle,cstlist); + printf("No clusters=%d\n",cstlist->n); + cluster_list_free(cstlist); free(number); tape_free(vesicle->tape); vesicle_free(vesicle); -- Gitblit v1.9.3