cytriangle 1.0.4__tar.gz → 2.0.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cytriangle might be problematic. Click here for more details.
- {cytriangle-1.0.4 → cytriangle-2.0.0}/PKG-INFO +3 -3
- {cytriangle-1.0.4 → cytriangle-2.0.0}/pyproject.toml +1 -1
- {cytriangle-1.0.4 → cytriangle-2.0.0}/setup.py +1 -1
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/cytriangle/cytriangle.c +21 -21
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/cytriangle/cytriangleio.c +5 -5
- {cytriangle-1.0.4 → cytriangle-2.0.0}/LICENSE +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/README.md +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/build_ext.py +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/c/A.poly +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/c/README +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/c/makefile +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/c/showme.c +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/c/triangle.c +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/c/triangle.h +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/c/tricall.c +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/cytriangle/__init__.py +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/cytriangle/ctriangle.pxd +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/cytriangle/cytriangle.pyx +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/cytriangle/cytriangleio.pxd +0 -0
- {cytriangle-1.0.4 → cytriangle-2.0.0}/src/cytriangle/cytriangleio.pyx +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: cytriangle
|
|
3
|
-
Version:
|
|
3
|
+
Version: 2.0.0
|
|
4
4
|
Summary: Object-oriented Cython wrapper of Shewchuk's Triangle Library
|
|
5
|
-
Home-page: https://github.com/m-clare/cytriangle
|
|
6
5
|
License: LGPL 3.0
|
|
7
6
|
Keywords: finite-element-analysis,triangular-meshing,mesh,FEA,triangle
|
|
8
7
|
Author: Maryanne Wachter
|
|
@@ -22,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
23
22
|
Classifier: Topic :: Scientific/Engineering
|
|
24
23
|
Requires-Dist: numpy (>=2.1.2)
|
|
24
|
+
Project-URL: Homepage, https://github.com/m-clare/cytriangle
|
|
25
25
|
Project-URL: Repository, https://github.com/m-clare/cytriangle
|
|
26
26
|
Description-Content-Type: text/markdown
|
|
27
27
|
|
|
@@ -15,7 +15,7 @@ install_requires = \
|
|
|
15
15
|
|
|
16
16
|
setup_kwargs = {
|
|
17
17
|
'name': 'cytriangle',
|
|
18
|
-
'version': '
|
|
18
|
+
'version': '2.0.0',
|
|
19
19
|
'description': "Object-oriented Cython wrapper of Shewchuk's Triangle Library",
|
|
20
20
|
'long_description': '# CyTriangle\n## A Python Wrapped Triangle Library via Cython\n\n\n\n\n\n*CyTriangle* is an object-oriented python wrapper around Jonathan Richard Shewchuk\'s [Triangle](https://www.cs.cmu.edu/~quake/triangle.html) library. From its documentation:\n\n"Triangle generates exact Delaunay triangulations, constrained Delaunay triangulations, conforming Delaunay triangulations, Voronoi diagrams, and high-quality triangular meshes. The latter can be generated with no small or large angles, and are thus suitable for finite element analysis."\n\n*CyTriangle* utilizes Cython to provide an object-oriented interface to Triangle to enable easier inspection and modification of triangle objects.\n',
|
|
21
21
|
'author': 'Maryanne Wachter',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.12 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -61,10 +61,10 @@ END: Cython Metadata */
|
|
|
61
61
|
#else
|
|
62
62
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
63
63
|
#endif
|
|
64
|
-
#define CYTHON_ABI "
|
|
64
|
+
#define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
|
|
65
65
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
66
66
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
67
|
-
#define CYTHON_HEX_VERSION
|
|
67
|
+
#define CYTHON_HEX_VERSION 0x03000CF0
|
|
68
68
|
#define CYTHON_FUTURE_DIVISION 1
|
|
69
69
|
#include <stddef.h>
|
|
70
70
|
#ifndef offsetof
|
|
@@ -1850,7 +1850,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
1850
1850
|
#if !CYTHON_VECTORCALL
|
|
1851
1851
|
#if PY_VERSION_HEX >= 0x03080000
|
|
1852
1852
|
#include "frameobject.h"
|
|
1853
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
1853
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
1854
1854
|
#ifndef Py_BUILD_CORE
|
|
1855
1855
|
#define Py_BUILD_CORE 1
|
|
1856
1856
|
#endif
|
|
@@ -2126,22 +2126,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
|
|
|
2126
2126
|
#endif
|
|
2127
2127
|
|
|
2128
2128
|
/* TypeImport.proto */
|
|
2129
|
-
#ifndef
|
|
2130
|
-
#define
|
|
2129
|
+
#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_12
|
|
2130
|
+
#define __PYX_HAVE_RT_ImportType_proto_3_0_12
|
|
2131
2131
|
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
|
|
2132
2132
|
#include <stdalign.h>
|
|
2133
2133
|
#endif
|
|
2134
2134
|
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
|
|
2135
|
-
#define
|
|
2135
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_12(s) alignof(s)
|
|
2136
2136
|
#else
|
|
2137
|
-
#define
|
|
2137
|
+
#define __PYX_GET_STRUCT_ALIGNMENT_3_0_12(s) sizeof(void*)
|
|
2138
2138
|
#endif
|
|
2139
|
-
enum
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2139
|
+
enum __Pyx_ImportType_CheckSize_3_0_12 {
|
|
2140
|
+
__Pyx_ImportType_CheckSize_Error_3_0_12 = 0,
|
|
2141
|
+
__Pyx_ImportType_CheckSize_Warn_3_0_12 = 1,
|
|
2142
|
+
__Pyx_ImportType_CheckSize_Ignore_3_0_12 = 2
|
|
2143
2143
|
};
|
|
2144
|
-
static PyTypeObject *
|
|
2144
|
+
static PyTypeObject *__Pyx_ImportType_3_0_12(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_12 check_size);
|
|
2145
2145
|
#endif
|
|
2146
2146
|
|
|
2147
2147
|
/* ImportDottedModule.proto */
|
|
@@ -8068,7 +8068,7 @@ static int __Pyx_modinit_type_import_code(void) {
|
|
|
8068
8068
|
/*--- Type import code ---*/
|
|
8069
8069
|
__pyx_t_1 = PyImport_ImportModule("cytriangle.cytriangleio"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
8070
8070
|
__Pyx_GOTREF(__pyx_t_1);
|
|
8071
|
-
__pyx_ptype_10cytriangle_12cytriangleio_TriangleIO =
|
|
8071
|
+
__pyx_ptype_10cytriangle_12cytriangleio_TriangleIO = __Pyx_ImportType_3_0_12(__pyx_t_1, "cytriangle.cytriangleio", "TriangleIO", sizeof(struct __pyx_obj_10cytriangle_12cytriangleio_TriangleIO), __PYX_GET_STRUCT_ALIGNMENT_3_0_12(struct __pyx_obj_10cytriangle_12cytriangleio_TriangleIO),__Pyx_ImportType_CheckSize_Warn_3_0_12); if (!__pyx_ptype_10cytriangle_12cytriangleio_TriangleIO) __PYX_ERR(2, 3, __pyx_L1_error)
|
|
8072
8072
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
8073
8073
|
__Pyx_RefNannyFinishContext();
|
|
8074
8074
|
return 0;
|
|
@@ -10831,10 +10831,10 @@ __PYX_GOOD:
|
|
|
10831
10831
|
#endif
|
|
10832
10832
|
|
|
10833
10833
|
/* TypeImport */
|
|
10834
|
-
#ifndef
|
|
10835
|
-
#define
|
|
10836
|
-
static PyTypeObject *
|
|
10837
|
-
size_t size, size_t alignment, enum
|
|
10834
|
+
#ifndef __PYX_HAVE_RT_ImportType_3_0_12
|
|
10835
|
+
#define __PYX_HAVE_RT_ImportType_3_0_12
|
|
10836
|
+
static PyTypeObject *__Pyx_ImportType_3_0_12(PyObject *module, const char *module_name, const char *class_name,
|
|
10837
|
+
size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_12 check_size)
|
|
10838
10838
|
{
|
|
10839
10839
|
PyObject *result = 0;
|
|
10840
10840
|
char warning[200];
|
|
@@ -10888,7 +10888,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject *module, const char *modul
|
|
|
10888
10888
|
module_name, class_name, size, basicsize+itemsize);
|
|
10889
10889
|
goto bad;
|
|
10890
10890
|
}
|
|
10891
|
-
if (check_size ==
|
|
10891
|
+
if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_12 &&
|
|
10892
10892
|
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
|
|
10893
10893
|
PyErr_Format(PyExc_ValueError,
|
|
10894
10894
|
"%.200s.%.200s size changed, may indicate binary incompatibility. "
|
|
@@ -10896,7 +10896,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject *module, const char *modul
|
|
|
10896
10896
|
module_name, class_name, size, basicsize, basicsize+itemsize);
|
|
10897
10897
|
goto bad;
|
|
10898
10898
|
}
|
|
10899
|
-
else if (check_size ==
|
|
10899
|
+
else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_12 && (size_t)basicsize > size) {
|
|
10900
10900
|
PyOS_snprintf(warning, sizeof(warning),
|
|
10901
10901
|
"%s.%s size changed, may indicate binary incompatibility. "
|
|
10902
10902
|
"Expected %zd from C header, got %zd from PyObject",
|
|
@@ -12347,7 +12347,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
|
|
12347
12347
|
#include "compile.h"
|
|
12348
12348
|
#include "frameobject.h"
|
|
12349
12349
|
#include "traceback.h"
|
|
12350
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
12350
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
12351
12351
|
#ifndef Py_BUILD_CORE
|
|
12352
12352
|
#define Py_BUILD_CORE 1
|
|
12353
12353
|
#endif
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.12 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -61,10 +61,10 @@ END: Cython Metadata */
|
|
|
61
61
|
#else
|
|
62
62
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
63
63
|
#endif
|
|
64
|
-
#define CYTHON_ABI "
|
|
64
|
+
#define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
|
|
65
65
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
66
66
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
67
|
-
#define CYTHON_HEX_VERSION
|
|
67
|
+
#define CYTHON_HEX_VERSION 0x03000CF0
|
|
68
68
|
#define CYTHON_FUTURE_DIVISION 1
|
|
69
69
|
#include <stddef.h>
|
|
70
70
|
#ifndef offsetof
|
|
@@ -1845,7 +1845,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
1845
1845
|
#if !CYTHON_VECTORCALL
|
|
1846
1846
|
#if PY_VERSION_HEX >= 0x03080000
|
|
1847
1847
|
#include "frameobject.h"
|
|
1848
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
1848
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
1849
1849
|
#ifndef Py_BUILD_CORE
|
|
1850
1850
|
#define Py_BUILD_CORE 1
|
|
1851
1851
|
#endif
|
|
@@ -19451,7 +19451,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
|
|
19451
19451
|
#include "compile.h"
|
|
19452
19452
|
#include "frameobject.h"
|
|
19453
19453
|
#include "traceback.h"
|
|
19454
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
19454
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
19455
19455
|
#ifndef Py_BUILD_CORE
|
|
19456
19456
|
#define Py_BUILD_CORE 1
|
|
19457
19457
|
#endif
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|