From 0661f62a1a4b5bc87310421d198e7df8538c7363 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Tue, 26 Jun 2018 10:33:59 +0000
Subject: [PATCH] Added function to calculate absolute value of ulm2

---
 src/initial_distribution.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/initial_distribution.c b/src/initial_distribution.c
index 59bf808..4956900 100644
--- a/src/initial_distribution.c
+++ b/src/initial_distribution.c
@@ -112,7 +112,7 @@
         vesicle->sphHarmonics=NULL;
     }
 
-	vesicle->tlist->a0=sqrt(3)/2*pow((vesicle->tape->dmax+1.0),2);  
+	vesicle->tlist->a0=sqrt(3)/4*pow((vesicle->tape->dmax+1.0)/2.0,2);  
     return TS_SUCCESS;
 
 }

--
Gitblit v1.9.3