From 1121faa13a2038facad22073f0fc610903d98691 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@CAE-linux.(none)>
Date: Fri, 05 Sep 2014 20:18:05 +0000
Subject: [PATCH] First variant of constant volume constrant (a new one proposed by Miha after reading his article). It seems to work, however there are still some things to be done, such as Miha's derivation of the epsvol (0.003% is used at the moment) and solving the problem of additional global variables.

---
 src/poly.h |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/poly.h b/src/poly.h
index 89392ba..2b37c92 100644
--- a/src/poly.h
+++ b/src/poly.h
@@ -1,14 +1,21 @@
 #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