From f977e8fe32b6a1a2ae85662ab35fd7c9f647cc3e Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Mon, 02 Jul 2018 10:50:58 +0000
Subject: [PATCH] Added a funciton that calculates everything needed for spherical harmonics

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

diff --git a/src/timestep.c b/src/timestep.c
index d4748e6..c74e3e1 100644
--- a/src/timestep.c
+++ b/src/timestep.c
@@ -92,12 +92,12 @@
 		cell_occupation(vesicle);
             dump_state(vesicle,i);
 		if(i>=inititer){
+			vesicle_volume(vesicle); //calculates just volume. 
+            		vesicle_area(vesicle); //calculates area.
 			write_vertex_xml_file(vesicle,i-inititer,NULL);
 			write_master_xml_file(command_line_args.output_fullfilename);
 			epochtime=get_epoch();			
 			gyration_eigen(vesicle, &l1, &l2, &l3);
-			vesicle_volume(vesicle); //calculates just volume. 
-            vesicle_area(vesicle); //calculates area.
 			r0=getR0(vesicle);
             if(vesicle->sphHarmonics!=NULL){
 			    preparationSh(vesicle,r0);

--
Gitblit v1.9.3