mmgpy 0.1.1__cp39-cp39-macosx_13_0_x86_64.whl
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 mmgpy might be problematic. Click here for more details.
- bin/mmg2d_O3 +0 -0
- bin/mmg3d_O3 +0 -0
- bin/mmgs_O3 +0 -0
- include/mmg/common/git_log_mmg.h +6 -0
- include/mmg/common/libmmgtypes.h +687 -0
- include/mmg/common/libmmgtypesf.h +762 -0
- include/mmg/common/mmg_export.h +47 -0
- include/mmg/common/mmgcmakedefines.h +46 -0
- include/mmg/common/mmgcmakedefinesf.h +29 -0
- include/mmg/common/mmgversion.h +54 -0
- include/mmg/libmmg.h +67 -0
- include/mmg/libmmgf.h +42 -0
- include/mmg/mmg2d/libmmg2d.h +2761 -0
- include/mmg/mmg2d/libmmg2df.h +3263 -0
- include/mmg/mmg2d/mmg2d_export.h +34 -0
- include/mmg/mmg3d/libmmg3d.h +3444 -0
- include/mmg/mmg3d/libmmg3df.h +4041 -0
- include/mmg/mmg3d/mmg3d_export.h +34 -0
- include/mmg/mmgs/libmmgs.h +2560 -0
- include/mmg/mmgs/libmmgsf.h +3028 -0
- include/mmg/mmgs/mmgs_export.h +34 -0
- lib/cmake/mmg/FindElas.cmake +57 -0
- lib/cmake/mmg/FindSCOTCH.cmake +373 -0
- lib/cmake/mmg/MmgTargets-release.cmake +49 -0
- lib/cmake/mmg/MmgTargets.cmake +127 -0
- lib/cmake/mmg/mmgConfig.cmake +43 -0
- lib/libmmg.5.8.0.dylib +0 -0
- lib/libmmg.5.dylib +0 -0
- lib/libmmg.dylib +0 -0
- lib/libmmg2d.5.8.0.dylib +0 -0
- lib/libmmg2d.5.dylib +0 -0
- lib/libmmg2d.dylib +0 -0
- lib/libmmg3d.5.8.0.dylib +0 -0
- lib/libmmg3d.5.dylib +0 -0
- lib/libmmg3d.dylib +0 -0
- lib/libmmgs.5.8.0.dylib +0 -0
- lib/libmmgs.5.dylib +0 -0
- lib/libmmgs.dylib +0 -0
- mmgpy/__init__.py +14 -0
- mmgpy/_mmgpy.cpython-39-darwin.so +0 -0
- mmgpy/_mmgpy.pyi +29 -0
- mmgpy/_version.py +3 -0
- mmgpy/_version.py.in +3 -0
- mmgpy/lib/libmmg2d.5.8.0.dylib +0 -0
- mmgpy/lib/libmmg2d.5.dylib +0 -0
- mmgpy/lib/libmmg2d.dylib +0 -0
- mmgpy/lib/libmmg3d.5.8.0.dylib +0 -0
- mmgpy/lib/libmmg3d.5.dylib +0 -0
- mmgpy/lib/libmmg3d.dylib +0 -0
- mmgpy/lib/libmmgs.5.8.0.dylib +0 -0
- mmgpy/lib/libmmgs.5.dylib +0 -0
- mmgpy/lib/libmmgs.dylib +0 -0
- mmgpy/py.typed +0 -0
- mmgpy-0.1.1.data/scripts/mmg2d_O3 +0 -0
- mmgpy-0.1.1.data/scripts/mmg3d_O3 +0 -0
- mmgpy-0.1.1.data/scripts/mmgs_O3 +0 -0
- mmgpy-0.1.1.dist-info/METADATA +52 -0
- mmgpy-0.1.1.dist-info/RECORD +63 -0
- mmgpy-0.1.1.dist-info/WHEEL +5 -0
- mmgpy-0.1.1.dist-info/licenses/LICENSE +19 -0
- share/man/man1/mmg2d.1.gz +0 -0
- share/man/man1/mmg3d.1.gz +0 -0
- share/man/man1/mmgs.1.gz +0 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* ============================================================================ =
|
|
2
|
+
** This file is part of the mmg software package for the tetrahedral
|
|
3
|
+
** mesh modification.
|
|
4
|
+
** Copyright(c) Bx INP / CNRS / Inria / UBordeaux / UPMC, 2004 -
|
|
5
|
+
**
|
|
6
|
+
** mmg is free software : you can redistribute it and/or modify it
|
|
7
|
+
** under the terms of the GNU Lesser General Public License as published
|
|
8
|
+
** by the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
** (at your option) any later version.
|
|
10
|
+
**
|
|
11
|
+
** mmg is distributed in the hope that it will be useful, but WITHOUT
|
|
12
|
+
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13
|
+
** FITNESS FOR A PARTICULAR PURPOSE.See the GNU Lesser General Public
|
|
14
|
+
** License for more details.
|
|
15
|
+
**
|
|
16
|
+
** You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
** License and of the GNU General Public License along with mmg(in
|
|
18
|
+
** files COPYING.LESSER and COPYING).If not, see
|
|
19
|
+
** <http://www.gnu.org/licenses/>. Please read their terms carefully and
|
|
20
|
+
** use this copy of the mmg distribution only if you accept them.
|
|
21
|
+
** ============================================================================ =
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
#ifndef MMG_EXPORT_H
|
|
25
|
+
#define MMG_EXPORT_H
|
|
26
|
+
|
|
27
|
+
#include "mmg/common/mmgcmakedefines.h"
|
|
28
|
+
|
|
29
|
+
#if(MMG_DYN_LIB)
|
|
30
|
+
# if defined(_WIN32) || defined(_WIN32) || defined(_WIN64) || defined(__WIN32__) || defined(__TOS_WIN__) || defined(__WINDOWS__)
|
|
31
|
+
# define MMG_DECL_EXPORT __declspec(dllexport)
|
|
32
|
+
# define MMG_DECL_IMPORT __declspec(dllimport)
|
|
33
|
+
# define MMG_DECL_HIDDEN
|
|
34
|
+
# elif(__GNUC__ >= 4)
|
|
35
|
+
# define MMG_DECL_EXPORT __attribute__((visibility("default")))
|
|
36
|
+
# define MMG_DECL_IMPORT __attribute__((visibility("default")))
|
|
37
|
+
# define MMG_DECL_HIDDEN __attribute__((visibility("hidden")))
|
|
38
|
+
# endif
|
|
39
|
+
#endif
|
|
40
|
+
|
|
41
|
+
#if !defined(MMG_DECL_EXPORT)
|
|
42
|
+
# define MMG_DECL_EXPORT
|
|
43
|
+
# define MMG_DECL_IMPORT
|
|
44
|
+
# define MMG_DECL_HIDDEN
|
|
45
|
+
#endif
|
|
46
|
+
|
|
47
|
+
#endif
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* =============================================================================
|
|
2
|
+
** This file is part of the mmg software package for the tetrahedral
|
|
3
|
+
** mesh modification.
|
|
4
|
+
** Copyright (c) Bx INP/Inria/UBordeaux/UPMC, 2004- .
|
|
5
|
+
**
|
|
6
|
+
** mmg is free software: you can redistribute it and/or modify it
|
|
7
|
+
** under the terms of the GNU Lesser General Public License as published
|
|
8
|
+
** by the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
** (at your option) any later version.
|
|
10
|
+
**
|
|
11
|
+
** mmg is distributed in the hope that it will be useful, but WITHOUT
|
|
12
|
+
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13
|
+
** FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
14
|
+
** License for more details.
|
|
15
|
+
**
|
|
16
|
+
** You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
** License and of the GNU General Public License along with mmg (in
|
|
18
|
+
** files COPYING.LESSER and COPYING). If not, see
|
|
19
|
+
** <http://www.gnu.org/licenses/>. Please read their terms carefully and
|
|
20
|
+
** use this copy of the mmg distribution only if you accept them.
|
|
21
|
+
** =============================================================================
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
#ifndef MMGCMAKEDEFINE_H
|
|
25
|
+
#define MMGCMAKEDEFINE_H
|
|
26
|
+
|
|
27
|
+
/* inttypes.h is needed to handle prints of MMG5_int using PRId32 and PRId64 macros */
|
|
28
|
+
#include <inttypes.h>
|
|
29
|
+
|
|
30
|
+
#define MMG_POSIX
|
|
31
|
+
#define MMG_GNU
|
|
32
|
+
|
|
33
|
+
#define MMG5_int int32_t /*!< Integer type for C */
|
|
34
|
+
|
|
35
|
+
#define MMG5_INTMAX INT_MAX /*!< INT_MAX or LONG_MAX depending on MMG5_INT size */
|
|
36
|
+
|
|
37
|
+
#define MMG5_PRId PRId32 /*!< Printing format for MMG5_int type */
|
|
38
|
+
|
|
39
|
+
#define MMG5_SWAPBIN(x) MMG5_swapbin(x) /*!< MMG5_swapbin function for MMG5_int */
|
|
40
|
+
|
|
41
|
+
#define MMG5_abs(x) abs(x) /*!< Abs function for MMG5_int */
|
|
42
|
+
|
|
43
|
+
/* #undef USE_POINTMAP */
|
|
44
|
+
#define MMG_DYN_LIB 1
|
|
45
|
+
|
|
46
|
+
#endif
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/* =============================================================================
|
|
2
|
+
** This file is part of the mmg software package for the tetrahedral
|
|
3
|
+
** mesh modification.
|
|
4
|
+
** Copyright (c) Bx INP/Inria/UBordeaux/UPMC, 2004- .
|
|
5
|
+
**
|
|
6
|
+
** mmg is free software: you can redistribute it and/or modify it
|
|
7
|
+
** under the terms of the GNU Lesser General Public License as published
|
|
8
|
+
** by the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
** (at your option) any later version.
|
|
10
|
+
**
|
|
11
|
+
** mmg is distributed in the hope that it will be useful, but WITHOUT
|
|
12
|
+
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13
|
+
** FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
14
|
+
** License for more details.
|
|
15
|
+
**
|
|
16
|
+
** You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
** License and of the GNU General Public License along with mmg (in
|
|
18
|
+
** files COPYING.LESSER and COPYING). If not, see
|
|
19
|
+
** <http://www.gnu.org/licenses/>. Please read their terms carefully and
|
|
20
|
+
** use this copy of the mmg distribution only if you accept them.
|
|
21
|
+
** =============================================================================
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
#ifndef MMGCMAKEDEFINEF_H
|
|
25
|
+
#define MMGCMAKEDEFINEF_H
|
|
26
|
+
|
|
27
|
+
#define MMG5F_INT SELECTED_INT_KIND(9) /*!< Integer type for fortran */
|
|
28
|
+
|
|
29
|
+
#endif
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* =============================================================================
|
|
2
|
+
** This file is part of the mmg software package for the tetrahedral
|
|
3
|
+
** mesh modification.
|
|
4
|
+
** Copyright (c) Bx INP/Inria/UBordeaux/UPMC, 2004- .
|
|
5
|
+
**
|
|
6
|
+
** mmg is free software: you can redistribute it and/or modify it
|
|
7
|
+
** under the terms of the GNU Lesser General Public License as published
|
|
8
|
+
** by the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
** (at your option) any later version.
|
|
10
|
+
**
|
|
11
|
+
** mmg is distributed in the hope that it will be useful, but WITHOUT
|
|
12
|
+
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13
|
+
** FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
14
|
+
** License for more details.
|
|
15
|
+
**
|
|
16
|
+
** You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
** License and of the GNU General Public License along with mmg (in
|
|
18
|
+
** files COPYING.LESSER and COPYING). If not, see
|
|
19
|
+
** <http://www.gnu.org/licenses/>. Please read their terms carefully and
|
|
20
|
+
** use this copy of the mmg distribution only if you accept them.
|
|
21
|
+
** =============================================================================
|
|
22
|
+
*/
|
|
23
|
+
#ifndef _WIN32
|
|
24
|
+
#include "mmg/common/git_log_mmg.h"
|
|
25
|
+
#endif
|
|
26
|
+
|
|
27
|
+
#ifndef MMGVERSION_H
|
|
28
|
+
#define MMGVERSION_H
|
|
29
|
+
|
|
30
|
+
#define MMG_VERSION_RELEASE "5.8.0"
|
|
31
|
+
#define MMG_VERSION_MAJOR 5
|
|
32
|
+
#define MMG_VERSION_MINOR 8
|
|
33
|
+
#define MMG_VERSION_PATCH 0
|
|
34
|
+
#define MMG_RELEASE_DATE "Oct. 30, 2024"
|
|
35
|
+
|
|
36
|
+
#define MMG_COPYRIGHT "Copyright (c) Bdx INP/CNRS/Inria/UPMC, 2004-"
|
|
37
|
+
|
|
38
|
+
#define MMG_VERSION_EQ(MAJOR,MINOR) \
|
|
39
|
+
((MMG_VERSION_MAJOR == (MAJOR)) && (MMG_VERSION_MINOR == (MINOR)))
|
|
40
|
+
|
|
41
|
+
#define MMG_VERSION_ MMG_VERSION_EQ
|
|
42
|
+
|
|
43
|
+
#define MMG_VERSION_LT(MAJOR,MINOR) \
|
|
44
|
+
(MMG_VERSION_MAJOR < (MAJOR) || (MMG_VERSION_MAJOR == (MAJOR) && \
|
|
45
|
+
(MMG_VERSION_MINOR < (MINOR) )))
|
|
46
|
+
|
|
47
|
+
#define MMG_VERSION_LE(MAJOR,MINOR) \
|
|
48
|
+
(MMG_VERSION_LT(MAJOR,MINOR) || MMG_VERSION_EQ(MAJOR,MINOR))
|
|
49
|
+
|
|
50
|
+
#define MMG_VERSION_GT(MAJOR,MINOR) (0 == MMG_VERSION_LE(MAJOR,MINOR))
|
|
51
|
+
|
|
52
|
+
#define MMG_VERSION_GE(MAJOR,MINOR) (0 == MMG_VERSION_LT(MAJOR,MINOR))
|
|
53
|
+
|
|
54
|
+
#endif
|
include/mmg/libmmg.h
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* =============================================================================
|
|
2
|
+
** This file is part of the mmg software package for the tetrahedral
|
|
3
|
+
** mesh modification.
|
|
4
|
+
** Copyright (c) Bx INP/CNRS/Inria/UBordeaux/UPMC, 2004-
|
|
5
|
+
**
|
|
6
|
+
** mmg is free software: you can redistribute it and/or modify it
|
|
7
|
+
** under the terms of the GNU Lesser General Public License as published
|
|
8
|
+
** by the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
** (at your option) any later version.
|
|
10
|
+
**
|
|
11
|
+
** mmg is distributed in the hope that it will be useful, but WITHOUT
|
|
12
|
+
** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13
|
+
** FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
14
|
+
** License for more details.
|
|
15
|
+
**
|
|
16
|
+
** You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
** License and of the GNU General Public License along with mmg (in
|
|
18
|
+
** files COPYING.LESSER and COPYING). If not, see
|
|
19
|
+
** <http://www.gnu.org/licenses/>. Please read their terms carefully and
|
|
20
|
+
** use this copy of the mmg distribution only if you accept them.
|
|
21
|
+
** =============================================================================
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
/*
|
|
25
|
+
* WARNING: To keep the genheader program working, don't break line between an enum
|
|
26
|
+
* name and the opening brace (it creates errors under windows)
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/* The following comment block defines the Doxygen group with label API, which
|
|
30
|
+
* includes
|
|
31
|
+
* mmg3d/libmmg3d.h
|
|
32
|
+
* mmg2d/libmmg2.h
|
|
33
|
+
* mmgs/libmmg2d.h
|
|
34
|
+
* and others
|
|
35
|
+
* with the aim to generate a central index into the API documentation.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* \defgroup API Application Programming Interface
|
|
40
|
+
*
|
|
41
|
+
* Mmg comes with three application programming interfaces (APIs), one
|
|
42
|
+
* corresponding to each of the command-line programs. In total there are over
|
|
43
|
+
* 360 API functions. You can find their declarations and descriptions in the
|
|
44
|
+
* files listed above.
|
|
45
|
+
*
|
|
46
|
+
* Examples showing how to use these functions can be found under the "Related
|
|
47
|
+
* Pages" tab.
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* \file common/libmmg.h
|
|
53
|
+
* \brief Wrapper for include files for the mmg library.
|
|
54
|
+
* \author Algiane Froehly (Inria / IMB, Université de Bordeaux)
|
|
55
|
+
* \author Mark Potse (IMB, Université de Bordeaux)
|
|
56
|
+
* \version 5
|
|
57
|
+
* \copyright GNU Lesser General Public License.
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
#ifndef MMGLIB_H
|
|
61
|
+
#define MMGLIB_H
|
|
62
|
+
|
|
63
|
+
#include "mmg/mmg2d/libmmg2d.h"
|
|
64
|
+
#include "mmg/mmgs/libmmgs.h"
|
|
65
|
+
#include "mmg/mmg3d/libmmg3d.h"
|
|
66
|
+
|
|
67
|
+
#endif
|
include/mmg/libmmgf.h
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
!/* =============================================================================
|
|
2
|
+
!** This file is part of the mmg software package for the tetrahedral
|
|
3
|
+
!** mesh modification.
|
|
4
|
+
!** Copyright (c) Bx INP/CNRS/Inria/UBordeaux/UPMC, 2004-
|
|
5
|
+
!**
|
|
6
|
+
!** mmg is free software: you can redistribute it and/or modify it
|
|
7
|
+
!** under the terms of the GNU Lesser General Public License as published
|
|
8
|
+
!** by the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
!** (at your option) any later version.
|
|
10
|
+
!**
|
|
11
|
+
!** mmg is distributed in the hope that it will be useful, but WITHOUT
|
|
12
|
+
!** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13
|
+
!** FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
14
|
+
!** License for more details.
|
|
15
|
+
!**
|
|
16
|
+
!** You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
!** License and of the GNU General Public License along with mmg (in
|
|
18
|
+
!** files COPYING.LESSER and COPYING). If not, see
|
|
19
|
+
!** <http://www.gnu.org/licenses/>. Please read their terms carefully and
|
|
20
|
+
!** use this copy of the mmg distribution only if you accept them.
|
|
21
|
+
!** =============================================================================
|
|
22
|
+
!*/
|
|
23
|
+
!
|
|
24
|
+
!/**
|
|
25
|
+
! * \file common/libmmgf.h
|
|
26
|
+
! * \brief Wrapper for include files for the mmg library.
|
|
27
|
+
! * \author Algiane Froehly (Inria / IMB, Université de Bordeaux)
|
|
28
|
+
! * \version 5
|
|
29
|
+
! * \date 01 2014
|
|
30
|
+
! * \copyright GNU Lesser General Public License.
|
|
31
|
+
! * \warning To keep the genheader working, don't break line between the enum
|
|
32
|
+
! * name and the opening brace (it creates errors under windows)
|
|
33
|
+
! */
|
|
34
|
+
|
|
35
|
+
#ifndef MMGFLIB_H
|
|
36
|
+
#define MMGFLIB_H
|
|
37
|
+
|
|
38
|
+
#include "mmg/mmg2d/libmmg2df.h"
|
|
39
|
+
#include "mmg/mmgs/libmmgsf.h"
|
|
40
|
+
#include "mmg/mmg3d/libmmg3df.h"
|
|
41
|
+
|
|
42
|
+
#endif
|