Trisurf Monte Carlo simulator
Samo Penic
2018-05-15 7ec6fb63c690080d0624c7bf138d0fd84fe7664e
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/vesicle->tlist->n*pow((triangle->area/vesicle->tlist->a0-1),2);
}