From 1121faa13a2038facad22073f0fc610903d98691 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo@CAE-linux.(none)> Date: Fri, 05 Sep 2014 20:18:05 +0000 Subject: [PATCH] First variant of constant volume constrant (a new one proposed by Miha after reading his article). It seems to work, however there are still some things to be done, such as Miha's derivation of the epsvol (0.003% is used at the moment) and solving the problem of additional global variables. --- src/bondflip.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bondflip.h b/src/bondflip.h index 6713c31..947555f 100644 --- a/src/bondflip.h +++ b/src/bondflip.h @@ -1,7 +1,7 @@ -#ifdef _H_BONDFLIP +#ifndef _H_BONDFLIP #define _H_BONDFLIP 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 ts_flip_bond(ts_vertex *k,ts_vertex *it,ts_vertex *km, ts_vertex *kp, ts_bond *bond, ts_triangle *lm, ts_triangle *lp, ts_triangle *lm2, ts_triangle *lp1); #endif -- Gitblit v1.9.3