From 7ad2b4ecf6d7b7319f1ee21e5bc150b224fd0e1f Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Thu, 24 May 2018 16:17:17 +0000
Subject: [PATCH] Change in data structure of trisurf-ng reflects here
---
trisurf/wrapper.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/trisurf/wrapper.py b/trisurf/wrapper.py
index 2ed7591..6418283 100644
--- a/trisurf/wrapper.py
+++ b/trisurf/wrapper.py
@@ -82,10 +82,11 @@
('znorm', c_double),
('area', c_double),
('volume', c_double),
+ ('energy', c_double),
]
class ts_triangle_list(Structure):
- _fields_=[('n',c_uint),('tria', POINTER(POINTER(ts_triangle)))]
+ _fields_=[('n',c_uint),('tria', POINTER(POINTER(ts_triangle))),('a0',c_double)]
ts_cell._fields_=[
@@ -145,6 +146,8 @@
('pswitch',c_long),
('constvolswitch',c_long),
('constareaswitch',c_long),
+ ('stretchswitch',c_long),
+ ('xkA0',c_double),
('constvolprecision',c_double),
('multiprocessing',c_char_p),
('brezveze0',c_long),
--
Gitblit v1.8.0