From 4df6ed05246cf8bc9fe0cb0c8766ebc368d2f512 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sat, 09 Mar 2019 19:33:51 +0000
Subject: [PATCH] Added stretching energy plugin

---
 src/plugins/pressure.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/plugins/pressure.c b/src/plugins/pressure.c
index fdcd919..39676db 100644
--- a/src/plugins/pressure.c
+++ b/src/plugins/pressure.c
@@ -22,7 +22,7 @@
 	}
 }
 
-ts_double vm_energy_after_execute(ts_vesicle *vesicle, ts_vertex *vtx){
+ts_double vm_energy_after_execute(ts_vesicle *vesicle, ts_vertex *vtx, ts_vertex *backup_vertices){
 	ts_double delta_energy=0;
 	if(vesicle->pswitch == 1){
 		ts_double *dvol=(ts_double *)vesicle->plist->pointer->plugin->details->data;

--
Gitblit v1.9.3