From fab2ad6a75f1a05fd043f7ef1da62bb722175063 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Thu, 02 Jun 2016 08:00:32 +0000
Subject: [PATCH] Changed define in initial_distribution.h from A0 to DEF_A0 to avoid possible confusion with global variable A0. The defined value is used in initial_distribution.c only and were renamed everywhere in the file (except in one comment).

---
 src/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main.c b/src/main.c
index 72e2b74..7c1ff29 100644
--- a/src/main.c
+++ b/src/main.c
@@ -30,6 +30,9 @@
 	ts_tape *tape;
 	ts_uint start_iteration=0;
 	force_from_tape=0;
+	/* Area and volume for constant area and constant volume are initialized to be zero */
+	A0=0;
+	V0=0;
 	/* create lock file */
 	createPidFile("ts_trisurf",".lock",0);
 	parse_args(argv,argc); // sets global variable command_line_args (defined in io.h)

--
Gitblit v1.9.3