Trisurf Monte Carlo simulator
Samo Penic
2019-03-09 60c2b879f26c5f008af0df7d7f159d33077225ac
src/restore.c
@@ -88,7 +88,7 @@
   mean_curvature_and_energy(vesicle);
   sweep_attraction_bond_energy(vesicle);
   if(vesicle->tape->stretchswitch==1){
      vesicle->tlist->a0=sqrt(3)/2.0*pow((vesicle->tape->dmax+1.0)/2.0,2);
      vesicle->tlist->a0=sqrt(3)/4.0*pow((vesicle->tape->dmax+1.0)/2.0,2);
      for(i=0;i<vesicle->tlist->n;i++){
         stretchenergy(vesicle, vesicle->tlist->tria[i]);
      }