Trisurf Monte Carlo simulator
Samo Penic
2014-03-05 719c9febac2eaff9483fda487b57684afbb59bb2
src/poly.c
@@ -4,6 +4,7 @@
#include"vertex.h"
#include"bond.h"
#include<math.h>
#include"energy.h"
ts_bool poly_assign_spring_const(ts_vesicle *vesicle){
   ts_uint i;
@@ -30,6 +31,7 @@
   for(i=0;i<poly->blist->n;i++){
   poly->blist->bond[i]->bond_length=sqrt(vtx_distance_sq(poly->blist->bond[i]->vtx1,poly->blist->bond[i]->vtx2));
   bond_energy(poly->blist->bond[i],poly);
   }
   return poly;