From ff8152b46e7957beffeafca580abc90df47d9d28 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 21 Mar 2014 21:15:31 +0000 Subject: [PATCH] Merge branch 'trisurf-polyel' --- src/poly.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/poly.c b/src/poly.c index d99d2ad..5cfc6e0 100644 --- a/src/poly.c +++ b/src/poly.c @@ -6,6 +6,17 @@ #include<math.h> #include"energy.h" +ts_bool poly_assign_filament_xi(ts_vesicle *vesicle, ts_tape *tape){ + ts_uint i; + + for(i=0;i<vesicle->filament_list->n;i++){ + vesicle->filament_list->poly[i]->k = tape->xi; + } + + return TS_SUCCESS; +} + + ts_bool poly_assign_spring_const(ts_vesicle *vesicle){ ts_uint i; -- Gitblit v1.9.3