From dd4e182bc818974b3ad529422e631aa6a0764f2f Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Tue, 05 Jul 2016 10:18:24 +0000 Subject: [PATCH] Merge branch 'nirgov' of bitbucket.org:samop/trisurf-ng into nirgov --- src/poly.h | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/poly.h b/src/poly.h index 395b486..33f3be8 100644 --- a/src/poly.h +++ b/src/poly.h @@ -1,10 +1,22 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _POLY_H #define _POLY_H +#include"io.h" #include"general.h" ts_poly *init_poly(ts_uint n, ts_vertex *grafted_vtx); -ts_poly_list *init_poly_list(ts_uint n_poly, ts_uint n_mono, ts_vertex_list *vlist); +ts_poly_list *init_poly_list(ts_uint n_poly, ts_uint n_mono, ts_vertex_list *vlist, ts_vesicle *vesicle); +ts_bool poly_free(ts_poly *poly); + +ts_bool poly_list_free(ts_poly_list *poly_list); + +ts_bool poly_assign_spring_const(ts_vesicle *vesicle); + +ts_bool poly_assign_filament_xi(ts_vesicle *vesicle, ts_tape *tape); + +ts_poly *remove_poly_with_index(ts_poly_list *poly_list, ts_uint idx); +ts_bool remove_random_polymeres(ts_poly_list *poly_list, ts_uint number); #endif -- Gitblit v1.9.3