From 2f74e41cf5706334fcde64ae0e86a33c4fef884f Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sat, 28 May 2016 21:13:20 +0000
Subject: [PATCH] A small fix. If a continuation of simulation with a starting snapshot is requested, the last known vtk from the directory is used as a snapshot.

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

diff --git a/src/constvol.h b/src/constvol.h
index 605daa1..341c587 100644
--- a/src/constvol.h
+++ b/src/constvol.h
@@ -1,8 +1,9 @@
+/* vim: set ts=4 sts=4 sw=4 noet : */
 #ifndef _H_CONSTVOL
 #define _H_CONSTVOL
 
-ts_bool constvolume(ts_vesicle *vesicle, ts_vertex *vtx_avoid, ts_double Vol, ts_double *retEnergy, ts_vertex *vtx_moved, ts_vertex *vtx_backup);
+ts_bool constvolume(ts_vesicle *vesicle, ts_vertex *vtx_avoid, ts_double Vol, ts_double *retEnergy, ts_vertex **vtx_moved_retval, ts_vertex **vtx_backup);
 ts_bool constvolConstraintCheck(ts_vesicle *vesicle, ts_vertex *vtx);
 ts_bool constvolumerestore(ts_vertex *vtx_moved, ts_vertex *vtx_backup);
-ts_bool constvolumeaccept(ts_vertex *vtx_moved, ts_vertex *vtx_backup);
+ts_bool constvolumeaccept(ts_vesicle *vesicle, ts_vertex *vtx_moved, ts_vertex *vtx_backup);
 #endif

--
Gitblit v1.9.3