From 77a2c7de0dd6563a30467fa2e73f02ec9f4c3deb Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 08 Mar 2019 19:37:59 +0000 Subject: [PATCH] Added constant volume plugin (partially) --- src/general.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/general.h b/src/general.h index 4e834ed..4c09b71 100644 --- a/src/general.h +++ b/src/general.h @@ -313,6 +313,7 @@ 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_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); void (*cleanup)(void); @@ -344,6 +345,7 @@ ts_plugin_chain *vm_hard_constraint; ts_plugin_chain *vm_energy_before_prepare; ts_plugin_chain *vm_energy_after_execute; + ts_plugin_chain *vm_before_montecarlo_constraint; ts_plugin_chain *cleanup; } ts_plugin_chains; -- Gitblit v1.9.3