Python wrapper for running instances of trisurf-ng
Samo Penic
2018-05-24 5e1956510b43a1cdb184cc99b186d573f5227f00
Fix in wrapper.py
1 files modified
6 ■■■■ changed files
trisurf/wrapper.py 6 ●●●● patch | view | raw | blame | history
trisurf/wrapper.py
@@ -86,7 +86,7 @@
    ]
class ts_triangle_list(Structure):
    _fields_=[('n',c_uint),('tria', POINTER(POINTER(ts_triangle))),('a0',c_double)]
    _fields_=[('n',c_uint),('a0',c_double),('tria', POINTER(POINTER(ts_triangle))),]
ts_cell._fields_=[
@@ -285,5 +285,9 @@
    ts.cluster_list_free.argtype=[POINTER(ts_cluster_list)]
    ts.cluster_list_free(cluster_list)
def stretchenergy(vesicle, triangle):
    ts.stretchenergy.argtype=[POINTER(ts_vesicle), POINTER(ts_triangle)]
    ts.stretchenergy(vesicle,triangle)