From 85898e259e6e2075a7f755583690024a63e9bb2b Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 08 Mar 2019 20:37:07 +0000 Subject: [PATCH] Plane confinement plugin almost done :) --- src/general.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/general.h b/src/general.h index 702ba19..ab0c257 100644 --- a/src/general.h +++ b/src/general.h @@ -312,7 +312,7 @@ void (*vm_energy_before_prepare)(void *vesicle, ts_vertex *vtx); ts_double (*vm_energy_before_execute)(void *vesicle, ts_vertex *vtx); 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_energy_after_execute)(void *vesicle, ts_vertex *vtx, ts_vertex *backup_vertices); 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_vertex *old_vtx); ts_double (*vm_new_state_rejected)(void *vesicle, ts_vertex *vtx, ts_vertex *old_vtx); @@ -347,6 +347,7 @@ ts_plugin_chain *vm_energy_after_execute; ts_plugin_chain *vm_before_montecarlo_constraint; ts_plugin_chain *vm_new_state_accepted; + ts_plugin_chain *vm_new_state_rejected; ts_plugin_chain *cleanup; } ts_plugin_chains; -- Gitblit v1.9.3