From 304510886da7e3969efd6d506e68652b533c0975 Mon Sep 17 00:00:00 2001
From: Miha <mihaf@hapi.(none)>
Date: Fri, 21 Feb 2014 12:22:07 +0000
Subject: [PATCH] Removed harmonic potential between poly-monomers for now. Added min and max distance between neighboring poly-vertices.

---
 src/vertex.c |   33 ---------------------------------
 1 files changed, 0 insertions(+), 33 deletions(-)

diff --git a/src/vertex.c b/src/vertex.c
index 1993856..38647aa 100644
--- a/src/vertex.c
+++ b/src/vertex.c
@@ -311,36 +311,3 @@
 
     return vlist;
 }
-
-
-
-ts_bool vertex_taint(ts_vertex *vtx, ts_uint level){
-	if(level==0){
-		vtx->locked++;
-		return TS_SUCCESS;	
-	}	
-	ts_uint i;
-	for(i=0; i<vtx->neigh_no; i++){
-		vertex_taint(vtx->neigh[i], level-1);
-	}
-		vtx->locked++;
-	return TS_SUCCESS;
-}
-
-ts_bool vertex_untaint(ts_vertex *vtx, ts_uint level){
-	if(level==0){
-		vtx->locked--;
-		return TS_SUCCESS;	
-	}	
-	ts_uint i;
-	for(i=0; i<vtx->neigh_no; i++){
-		vertex_untaint(vtx->neigh[i], level-1);
-	}
-		vtx->locked--;
-	return TS_SUCCESS;
-}
-
-inline ts_bool vertex_tainted(ts_vertex *vtx, ts_uint level, ts_uint amount){
-	if(vtx->locked>amount) return 1;
-	else return 0;
-}

--
Gitblit v1.9.3