From f8e6baf4cc4dc4529eeda076556096e63da2dec8 Mon Sep 17 00:00:00 2001
From: Miha <mihaf@hapi.(none)>
Date: Wed, 12 Feb 2014 21:20:57 +0000
Subject: [PATCH] Just added some fprint info during run.

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

diff --git a/src/energy.c b/src/energy.c
index abbb8e7..1e37e08 100644
--- a/src/energy.c
+++ b/src/energy.c
@@ -20,6 +20,12 @@
 }
 
 
+inline ts_bool bond_energy(ts_bond *bond,ts_poly *poly){
+	bond->energy=poly->k*pow(bond->bond_length-1,2);
+	return TS_SUCCESS;
+};
+
+
 inline ts_bool energy_vertex(ts_vertex *vtx){
 //    ts_vertex *vtx=&vlist->vertex[n]-1; // Caution! 0 Indexed value!
 //    ts_triangle *tristar=vtx->tristar-1;

--
Gitblit v1.9.3