Trisurf Monte Carlo simulator
Samo Penic
2018-06-27 6da644f98434d3eac8b4e19981754f6030a315a5
src/energy.c
@@ -238,3 +238,12 @@
   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);
}
ts_double stretchenergy2(ts_double current_area,ts_double tensionless_area){
   return pow((current_area-tensionless_area),2)/tensionless_area;
}