From 699ac44864e75549fb3d238d36f0bc1dd645ddac Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Mon, 21 May 2018 13:52:58 +0000 Subject: [PATCH] Fixes in a0 calculation and calculation of stretching energy in vertexmove --- src/general.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/general.h b/src/general.h index 983361b..7676000 100644 --- a/src/general.h +++ b/src/general.h @@ -195,11 +195,13 @@ ts_double znorm; ts_double area; // firstly needed for sh.c ts_double volume; // firstly needed for sh.c + ts_double energy; }; typedef struct ts_triangle ts_triangle; struct ts_triangle_list{ ts_uint n; + ts_double a0; ts_triangle **tria; }; typedef struct ts_triangle_list ts_triangle_list; @@ -268,6 +270,8 @@ long int pswitch; long int constvolswitch; long int constareaswitch; + long int stretchswitch; + ts_double xkA0; ts_double constvolprecision; char *multiprocessing; long int brezveze0; @@ -373,4 +377,5 @@ int createPidFile(const char *progName, const char *pidFile, int flags); int lockRegion(int fd, int type, int whence, int start, int len); +char *libVersion(); #endif -- Gitblit v1.9.3