From 2afc2f4f1dd89518995f1b5a539aea932aecab65 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Fri, 08 Mar 2019 19:50:18 +0000
Subject: [PATCH] Full write of constant volume plugin

---
 src/general.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/general.h b/src/general.h
index 4c09b71..702ba19 100644
--- a/src/general.h
+++ b/src/general.h
@@ -314,8 +314,8 @@
 	ts_double (*vm_energy_after_prepare)(void *vesicle, ts_vertex *vtx);
 	ts_double (*vm_energy_after_execute)(void *vesicle, ts_vertex *vtx);
 	ts_double (*vm_before_montecarlo_constraint)(void *vesicle, ts_vertex *vtx, ts_vertex *old_vtx);
-	ts_double (*vm_new_state_accepted)(void *vesicle, ts_vertex *vtx);
-	ts_double (*vm_new_state_rejected)(void *vesicle, ts_vertex *vtx);
+	ts_double (*vm_new_state_accepted)(void *vesicle, ts_vertex *vtx, ts_vertex *old_vtx);
+	ts_double (*vm_new_state_rejected)(void *vesicle, ts_vertex *vtx, ts_vertex *old_vtx);
 	void (*cleanup)(void);
 } ts_plugin_function;
 
@@ -346,6 +346,7 @@
 	ts_plugin_chain *vm_energy_before_prepare;
 	ts_plugin_chain *vm_energy_after_execute;
 	ts_plugin_chain *vm_before_montecarlo_constraint;
+	ts_plugin_chain *vm_new_state_accepted;
 	ts_plugin_chain *cleanup;
 } ts_plugin_chains;
 

--
Gitblit v1.9.3