From 6da644f98434d3eac8b4e19981754f6030a315a5 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Wed, 27 Jun 2018 12:05:32 +0000 Subject: [PATCH] Resolving the issues with restoring vesicles from vtu and fixing the volume. Dump to vtu has been repaired. --- src/energy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/energy.c b/src/energy.c index e9db3a4..d72ffcc 100644 --- a/src/energy.c +++ b/src/energy.c @@ -244,6 +244,6 @@ } ts_double stretchenergy2(ts_double current_area,ts_double tensionless_area){ - return pow((current_area*tensionless_area),2)/tensionless_area; + return pow((current_area-tensionless_area),2)/tensionless_area; } -- Gitblit v1.9.3