From 620ba72765eda244ca3f3806b8ad709929e74b3c Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Thu, 21 Jun 2018 10:50:23 +0000 Subject: [PATCH] Isak's proposal for stretching energy calculation, take 1 --- src/energy.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/energy.h b/src/energy.h index 1b97fa9..ad3a01b 100644 --- a/src/energy.h +++ b/src/energy.h @@ -8,4 +8,7 @@ ts_bool sweep_attraction_bond_energy(ts_vesicle *vesicle); inline ts_bool attraction_bond_energy(ts_bond *bond, ts_double w); ts_double direct_force_energy(ts_vesicle *vesicle, ts_vertex *vtx, ts_vertex *vtx_old); + +void stretchenergy(ts_vesicle *vesicle, ts_triangle *triangle); +ts_double stretchenergy2(ts_double current_area,ts_double tensionless_area); #endif -- Gitblit v1.9.3