Trisurf Monte Carlo simulator
Samo Penic
2016-12-06 0634b97e436e480b203a22e1113c473d3ae4d281
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<20;i++){
      int b=rand() % vesicle->vlist->n;
      vesicle->vlist->vtx[b]->c=-0.5;
   }
   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);