From def8b5262e183297ccee42ebbf9ebdb89c10f44c Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sun, 03 Jul 2016 18:21:13 +0000 Subject: [PATCH] restoring vertices with spontaneous curvatures seems to work, however, the dumped energy differs on last few decimal places --- src/vesicle.h | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/vesicle.h b/src/vesicle.h index feb33a5..e8f09fb 100644 --- a/src/vesicle.h +++ b/src/vesicle.h @@ -1,9 +1,10 @@ +/* vim: set ts=4 sts=4 sw=4 noet : */ #ifndef _VESICLE_H #define _VESICLE_H - +ts_vesicle *init_vesicle(ts_uint N, ts_uint ncmax1, ts_uint ncmax2, ts_uint ncmax3, ts_double stepsize); ts_bool vesicle_translate(ts_vesicle *vesicle,ts_double x, ts_double y, ts_double z); ts_bool vesicle_free(ts_vesicle *vesicle); - - +ts_bool vesicle_volume(ts_vesicle *vesicle); +ts_bool vesicle_area(ts_vesicle *vesicle); #endif -- Gitblit v1.9.3