Trisurf Monte Carlo simulator
Samo Penic
2019-10-19 579fbdf994b239ddcf68b1364fa3c84b2837d5c8
src/energy.c
@@ -238,3 +238,7 @@
   return vesicle->tape->F*ddp;      
   
}
void stretchenergy(ts_vesicle *vesicle, ts_triangle *triangle){
   triangle->energy=vesicle->tape->xkA0/2.0*pow((triangle->area/vesicle->tlist->a0-1.0),2);
}