Trisurf Monte Carlo simulator
Samo Penic
2017-01-04 61ad95ca712a374f6e58127fda738b67c57d743d
src/timestep.c
@@ -60,11 +60,6 @@
/* RANDOM SEED SET BY CURRENT TIME */
   epochtime=get_epoch();         
   srand48(epochtime);
/*Nir Gov: randomly add spontaneous curvature for some vertices */
   for(i=0;i<200;i++){
      int b=rand() % vesicle->vlist->n;
      vesicle->vlist->vtx[b]->c=-0.1;
   }
   centermass(vesicle);
   cell_occupation(vesicle);
   vesicle_volume(vesicle); //needed for constant volume at this moment
@@ -98,7 +93,7 @@
      cell_occupation(vesicle);
            dump_state(vesicle,i);
      if(i>=inititer){
         write_vertex_xml_file(vesicle,i-inititer);
         write_vertex_xml_file(vesicle,i-inititer,NULL);
         write_master_xml_file(command_line_args.output_fullfilename);
         epochtime=get_epoch();         
         gyration_eigen(vesicle, &l1, &l2, &l3);