From 23d807748be58e5178c04304d9cc788bf122eb12 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Tue, 11 Feb 2014 15:34:18 +0000 Subject: [PATCH] Make changes in memory allocation. Memory reservation is done, but pointers are not linked into corresponding structure. A lot to be done still. However, check how pointers can be recalculated at any time when the block is copied in memory. --- src/timestep.h | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/timestep.h b/src/timestep.h index 53c5ed1..e25234d 100644 --- a/src/timestep.h +++ b/src/timestep.h @@ -1,10 +1,5 @@ +#ifndef _TIMESTEP_H +#define _TIMESTEP_H ts_bool single_timestep(ts_vesicle *vesicle); - -ts_bool single_verticle_timestep(ts_vesicle *vesicle,ts_vertex *vtx,ts_double -*rn); - -ts_bool single_bondflip_timestep(ts_vesicle *vesicle, ts_bond *bond, ts_double -*rn); - -ts_bool ts_flip_bond(ts_vertex *k,ts_vertex *it,ts_vertex *km, ts_vertex *kp, -ts_bond *bond); +ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations); +#endif -- Gitblit v1.9.3