regina 7.4.1__cp314-cp314-macosx_10_13_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.
- regina/.dylibs/libgmp.10.dylib +0 -0
- regina/.dylibs/libgmpxx.4.dylib +0 -0
- regina/__init__.py +192 -0
- regina/engine.cpython-314-darwin.so +0 -0
- regina/plainCompleter.py +221 -0
- regina/pyCensus/__init__.py +14 -0
- regina/pyCensus/christy-knots-links.tdb +0 -0
- regina/pyCensus/closed-hyp-census-full.tdb +0 -0
- regina/pyCensus/closed-nor-census-11.tdb +0 -0
- regina/pyCensus/closed-or-census-11.tdb +0 -0
- regina/pyCensus/cusped-hyp-nor-census-9.tdb +0 -0
- regina/pyCensus/cusped-hyp-or-census-9.tdb +0 -0
- regina/sageRegina/__init__.py +2 -0
- regina/sageRegina/config.py +9 -0
- regina/sageRegina/test.py +131 -0
- regina/sageRegina/testsuite/CMakeLists.txt +64 -0
- regina/sageRegina/testsuite/O2_1.rga +15 -0
- regina/sageRegina/testsuite/O2_1.tri +28 -0
- regina/sageRegina/testsuite/README.txt +21 -0
- regina/sageRegina/testsuite/alltypes-exc.out +698 -0
- regina/sageRegina/testsuite/alltypes-exc.test +92 -0
- regina/sageRegina/testsuite/alltypes-noexc.out +698 -0
- regina/sageRegina/testsuite/alltypes-noexc.test +85 -0
- regina/sageRegina/testsuite/alltypes.out +698 -0
- regina/sageRegina/testsuite/alltypes.test +85 -0
- regina/sageRegina/testsuite/angles.out +102 -0
- regina/sageRegina/testsuite/angles.test +70 -0
- regina/sageRegina/testsuite/arrow.out +86 -0
- regina/sageRegina/testsuite/arrow.test +224 -0
- regina/sageRegina/testsuite/base64.out +2 -0
- regina/sageRegina/testsuite/base64.test +37 -0
- regina/sageRegina/testsuite/basic_callback.out +124 -0
- regina/sageRegina/testsuite/basic_sub.out +7 -0
- regina/sageRegina/testsuite/binom.out +14 -0
- regina/sageRegina/testsuite/binom.test +69 -0
- regina/sageRegina/testsuite/bool.out +6 -0
- regina/sageRegina/testsuite/bool.test +62 -0
- regina/sageRegina/testsuite/bytes.out +17 -0
- regina/sageRegina/testsuite/bytes.test +76 -0
- regina/sageRegina/testsuite/callbacks.out +515 -0
- regina/sageRegina/testsuite/callbacks.test +279 -0
- regina/sageRegina/testsuite/census.out +120 -0
- regina/sageRegina/testsuite/census.test +156 -0
- regina/sageRegina/testsuite/clone.out +18 -0
- regina/sageRegina/testsuite/clone.test +99 -0
- regina/sageRegina/testsuite/comparison.out +41 -0
- regina/sageRegina/testsuite/comparison.test +47 -0
- regina/sageRegina/testsuite/construction.out +120 -0
- regina/sageRegina/testsuite/construction.test +63 -0
- regina/sageRegina/testsuite/constructors.out +14 -0
- regina/sageRegina/testsuite/constructors.test +95 -0
- regina/sageRegina/testsuite/cube.orb +87 -0
- regina/sageRegina/testsuite/discs.out +3 -0
- regina/sageRegina/testsuite/discs.test +38 -0
- regina/sageRegina/testsuite/docstrings.filter +22 -0
- regina/sageRegina/testsuite/docstrings.out +802 -0
- regina/sageRegina/testsuite/docstrings.out.v2 +799 -0
- regina/sageRegina/testsuite/docstrings.test +55 -0
- regina/sageRegina/testsuite/dodec.orb +309 -0
- regina/sageRegina/testsuite/embeddings.out +23 -0
- regina/sageRegina/testsuite/embeddings.test +87 -0
- regina/sageRegina/testsuite/enumerate.out +62 -0
- regina/sageRegina/testsuite/enumerate.test +80 -0
- regina/sageRegina/testsuite/equality.out +112 -0
- regina/sageRegina/testsuite/equality.test +308 -0
- regina/sageRegina/testsuite/euler.out +15 -0
- regina/sageRegina/testsuite/euler.test +93 -0
- regina/sageRegina/testsuite/exception.out +7 -0
- regina/sageRegina/testsuite/exception.test +98 -0
- regina/sageRegina/testsuite/facenumbering.out +546 -0
- regina/sageRegina/testsuite/facenumbering.test +72 -0
- regina/sageRegina/testsuite/faces.out +40 -0
- regina/sageRegina/testsuite/faces.test +70 -0
- regina/sageRegina/testsuite/file.out +1229 -0
- regina/sageRegina/testsuite/file.test +68 -0
- regina/sageRegina/testsuite/file1.rga +0 -0
- regina/sageRegina/testsuite/file2.rga +0 -0
- regina/sageRegina/testsuite/file3.rga +119 -0
- regina/sageRegina/testsuite/flags.out +38 -0
- regina/sageRegina/testsuite/flags.out.v2 +38 -0
- regina/sageRegina/testsuite/flags.test +81 -0
- regina/sageRegina/testsuite/flype.out +37 -0
- regina/sageRegina/testsuite/flype.test +48 -0
- regina/sageRegina/testsuite/generic.out +116 -0
- regina/sageRegina/testsuite/generic.test +74 -0
- regina/sageRegina/testsuite/groups.out +70 -0
- regina/sageRegina/testsuite/groups.test +115 -0
- regina/sageRegina/testsuite/hash.out +66 -0
- regina/sageRegina/testsuite/hash.test +84 -0
- regina/sageRegina/testsuite/hypersurfaces.out +681 -0
- regina/sageRegina/testsuite/hypersurfaces.test +89 -0
- regina/sageRegina/testsuite/i18n-latin1.rga +8 -0
- regina/sageRegina/testsuite/i18n-utf8.rga +8 -0
- regina/sageRegina/testsuite/i18n.out +6 -0
- regina/sageRegina/testsuite/i18n.test +89 -0
- regina/sageRegina/testsuite/id.out +2 -0
- regina/sageRegina/testsuite/id.test +45 -0
- regina/sageRegina/testsuite/index.out +2 -0
- regina/sageRegina/testsuite/index.test +41 -0
- regina/sageRegina/testsuite/integer.out +74 -0
- regina/sageRegina/testsuite/integer.test +54 -0
- regina/sageRegina/testsuite/italian.orb +90 -0
- regina/sageRegina/testsuite/iterators.out +118 -0
- regina/sageRegina/testsuite/iterators.test +126 -0
- regina/sageRegina/testsuite/knotted-Y.orb +47 -0
- regina/sageRegina/testsuite/listener.out +43 -0
- regina/sageRegina/testsuite/listener.test +99 -0
- regina/sageRegina/testsuite/listview.out +416 -0
- regina/sageRegina/testsuite/listview.test +251 -0
- regina/sageRegina/testsuite/lookup.out +13 -0
- regina/sageRegina/testsuite/lookup.test +42 -0
- regina/sageRegina/testsuite/lst.out +844 -0
- regina/sageRegina/testsuite/lst.test +195 -0
- regina/sageRegina/testsuite/memory1.out +62 -0
- regina/sageRegina/testsuite/memory1.test +152 -0
- regina/sageRegina/testsuite/memory2.out +62 -0
- regina/sageRegina/testsuite/memory2.test +122 -0
- regina/sageRegina/testsuite/memory3.out +92 -0
- regina/sageRegina/testsuite/memory3.test +214 -0
- regina/sageRegina/testsuite/misc.out +7 -0
- regina/sageRegina/testsuite/misc.test +54 -0
- regina/sageRegina/testsuite/operators.out +129 -0
- regina/sageRegina/testsuite/operators.test +59 -0
- regina/sageRegina/testsuite/orb.out +441 -0
- regina/sageRegina/testsuite/orb.test +47 -0
- regina/sageRegina/testsuite/pdf.out +4 -0
- regina/sageRegina/testsuite/pdf.test +47 -0
- regina/sageRegina/testsuite/perm.out +36 -0
- regina/sageRegina/testsuite/perm.test +74 -0
- regina/sageRegina/testsuite/plantri.out +12 -0
- regina/sageRegina/testsuite/plantri.test +58 -0
- regina/sageRegina/testsuite/poincare.tri +55 -0
- regina/sageRegina/testsuite/presentations.out +11 -0
- regina/sageRegina/testsuite/presentations.test +59 -0
- regina/sageRegina/testsuite/refs.out +51 -0
- regina/sageRegina/testsuite/refs.test +126 -0
- regina/sageRegina/testsuite/repr.out +951 -0
- regina/sageRegina/testsuite/repr.out.v2 +951 -0
- regina/sageRegina/testsuite/repr.test +546 -0
- regina/sageRegina/testsuite/runbasic.in +75 -0
- regina/sageRegina/testsuite/safeheldtype_basic.out +17 -0
- regina/sageRegina/testsuite/safeheldtype_basic.test +111 -0
- regina/sageRegina/testsuite/safeheldtype_packet.out +58 -0
- regina/sageRegina/testsuite/safeheldtype_packet.test +179 -0
- regina/sageRegina/testsuite/sample.pdf +0 -0
- regina/sageRegina/testsuite/sets.out +7 -0
- regina/sageRegina/testsuite/sets.test +42 -0
- regina/sageRegina/testsuite/skeleton.out +308 -0
- regina/sageRegina/testsuite/skeleton.test +52 -0
- regina/sageRegina/testsuite/snappea.out +90 -0
- regina/sageRegina/testsuite/snappea.test +133 -0
- regina/sageRegina/testsuite/snapshot.out +15 -0
- regina/sageRegina/testsuite/snapshot.test +76 -0
- regina/sageRegina/testsuite/sort.out +78 -0
- regina/sageRegina/testsuite/sort.test +58 -0
- regina/sageRegina/testsuite/special.out +4 -0
- regina/sageRegina/testsuite/special.test +45 -0
- regina/sageRegina/testsuite/standardtri.out +12101 -0
- regina/sageRegina/testsuite/standardtri.test +453 -0
- regina/sageRegina/testsuite/surfaces.out +2133 -0
- regina/sageRegina/testsuite/surfaces.test +112 -0
- regina/sageRegina/testsuite/swapping.out +25 -0
- regina/sageRegina/testsuite/swapping.test +86 -0
- regina/sageRegina/testsuite/testall.in +174 -0
- regina/sageRegina/testsuite/testbasic.in +277 -0
- regina/sageRegina/testsuite/testcallback.in +148 -0
- regina/sageRegina/testsuite/testsub.in +148 -0
- regina/sageRegina/testsuite/theta_in_solid_torus.orb +65 -0
- regina/sageRegina/testsuite/tightencode.out +40 -0
- regina/sageRegina/testsuite/tightencode.test +106 -0
- regina/sageRegina/testsuite/treedecomp.out +135 -0
- regina/sageRegina/testsuite/treedecomp.test +64 -0
- regina/sageRegina/testsuite/treetraversal.out +52 -0
- regina/sageRegina/testsuite/treetraversal.test +188 -0
- regina/sageRegina/testsuite/trigeneral.out +1251 -0
- regina/sageRegina/testsuite/trigeneral.test +153 -0
- regina/sageRegina/testsuite/utf8.out +42 -0
- regina/sageRegina/testsuite/utf8.test +92 -0
- regina/sageRegina/testsuite/whitehead.tri +47 -0
- regina/sageRegina/version.py +5 -0
- regina/sageSetup.py +41 -0
- regina/test.py +6 -0
- regina-7.4.1.dist-info/METADATA +109 -0
- regina-7.4.1.dist-info/RECORD +186 -0
- regina-7.4.1.dist-info/WHEEL +6 -0
- regina-7.4.1.dist-info/top_level.txt +4 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Regina - A Normal Surface Theory Calculator
|
|
2
|
+
# Python Test Suite Component
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2011-2025, Ben Burton
|
|
5
|
+
# For further details contact Ben Burton (bab@debian.org).
|
|
6
|
+
#
|
|
7
|
+
# Tests support for the modern XML file format
|
|
8
|
+
#
|
|
9
|
+
# This file is a single component of Regina's python test suite. To run
|
|
10
|
+
# the python test suite, move to the main python directory in the source
|
|
11
|
+
# tree and run "make check".
|
|
12
|
+
#
|
|
13
|
+
# This program is free software; you can redistribute it and/or
|
|
14
|
+
# modify it under the terms of the GNU General Public License as
|
|
15
|
+
# published by the Free Software Foundation; either version 2 of the
|
|
16
|
+
# License, or (at your option) any later version.
|
|
17
|
+
#
|
|
18
|
+
# As an exception, when this program is distributed through (i) the
|
|
19
|
+
# App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
|
|
20
|
+
# (iii) Google Play by Google Inc., then that store may impose any
|
|
21
|
+
# digital rights management, device limits and/or redistribution
|
|
22
|
+
# restrictions that are required by its terms of service.
|
|
23
|
+
#
|
|
24
|
+
# This program is distributed in the hope that it will be useful, but
|
|
25
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
26
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
27
|
+
# General Public License for more details.
|
|
28
|
+
#
|
|
29
|
+
# You should have received a copy of the GNU General Public License
|
|
30
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
31
|
+
|
|
32
|
+
# Fetch the python/testsuite path in the source tree, since we will need
|
|
33
|
+
# to access external files.
|
|
34
|
+
import sys
|
|
35
|
+
if (len(sys.argv) > 1):
|
|
36
|
+
testpath = sys.argv[1]
|
|
37
|
+
else:
|
|
38
|
+
testpath = '.'
|
|
39
|
+
|
|
40
|
+
# A routine that performs essentially the same tasks as regfiledump.
|
|
41
|
+
def dump(tree):
|
|
42
|
+
if tree == None:
|
|
43
|
+
print('ERROR: Null packet tree.')
|
|
44
|
+
return
|
|
45
|
+
|
|
46
|
+
p = tree
|
|
47
|
+
while p != None:
|
|
48
|
+
print('************************************************************')
|
|
49
|
+
print('*')
|
|
50
|
+
print('* Label: ' + p.label())
|
|
51
|
+
print('* Type: ' + p.typeName())
|
|
52
|
+
if p.parent() == None:
|
|
53
|
+
print('* Parent: (none)')
|
|
54
|
+
else:
|
|
55
|
+
print('* Parent: ' + p.parent().label())
|
|
56
|
+
print('*')
|
|
57
|
+
print('************************************************************')
|
|
58
|
+
print()
|
|
59
|
+
print(p.detail())
|
|
60
|
+
print()
|
|
61
|
+
|
|
62
|
+
p = p.nextTreePacket()
|
|
63
|
+
|
|
64
|
+
# Load and dump some files created by different versions of regina.
|
|
65
|
+
dump(regina.open(testpath + '/file1.rga'))
|
|
66
|
+
dump(regina.open(testpath + '/file2.rga'))
|
|
67
|
+
dump(regina.open(testpath + '/file3.rga'))
|
|
68
|
+
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<reginadata engine="5.0">
|
|
3
|
+
<packet label="Root"
|
|
4
|
+
type="Container" typeid="1"
|
|
5
|
+
parent="">
|
|
6
|
+
<packet label="2-D"
|
|
7
|
+
type="2-Manifold Triangulation" typeid="15"
|
|
8
|
+
parent="Root">
|
|
9
|
+
<triangles ntriangles="2">
|
|
10
|
+
<triangle desc=""> 1 4 -1 -1 1 2 </triangle>
|
|
11
|
+
<triangle desc=""> 0 4 -1 -1 0 2 </triangle>
|
|
12
|
+
</triangles>
|
|
13
|
+
</packet> <!-- 2_D (2_Manifold Triangulation) -->
|
|
14
|
+
<packet label="3-D"
|
|
15
|
+
type="3-Manifold Triangulation" typeid="3"
|
|
16
|
+
parent="Root">
|
|
17
|
+
<tetrahedra ntet="2">
|
|
18
|
+
<tet desc=""> 1 147 -1 -1 -1 -1 1 57 </tet>
|
|
19
|
+
<tet desc=""> 0 147 -1 -1 -1 -1 0 57 </tet>
|
|
20
|
+
</tetrahedra>
|
|
21
|
+
</packet> <!-- 3_D (3_Manifold Triangulation) -->
|
|
22
|
+
<packet label="4-D"
|
|
23
|
+
type="4-Manifold Triangulation" typeid="11"
|
|
24
|
+
parent="Root">
|
|
25
|
+
<pentachora npent="2">
|
|
26
|
+
<pent desc=""> 1 13380 -1 -1 -1 -1 -1 -1 1 2257 </pent>
|
|
27
|
+
<pent desc=""> 0 13380 -1 -1 -1 -1 -1 -1 0 2257 </pent>
|
|
28
|
+
</pentachora>
|
|
29
|
+
</packet> <!-- 4_D (4_Manifold Triangulation) -->
|
|
30
|
+
<packet label="5-D"
|
|
31
|
+
type="5-Manifold Triangulation" typeid="105"
|
|
32
|
+
parent="Root">
|
|
33
|
+
<simplices size="2">
|
|
34
|
+
<simplex desc=""> 1 144453 -1 -1 -1 -1 -1 -1 -1 -1 1 22737 </simplex>
|
|
35
|
+
<simplex desc=""> 0 144453 -1 -1 -1 -1 -1 -1 -1 -1 0 22737 </simplex>
|
|
36
|
+
</simplices>
|
|
37
|
+
</packet> <!-- 5_D (5_Manifold Triangulation) -->
|
|
38
|
+
<packet label="6-D"
|
|
39
|
+
type="6-Manifold Triangulation" typeid="106"
|
|
40
|
+
parent="Root">
|
|
41
|
+
<simplices size="2">
|
|
42
|
+
<simplex desc=""> 1 1455174 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 219345 </simplex>
|
|
43
|
+
<simplex desc=""> 0 1455174 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 219345 </simplex>
|
|
44
|
+
</simplices>
|
|
45
|
+
</packet> <!-- 6_D (6_Manifold Triangulation) -->
|
|
46
|
+
<packet label="7-D"
|
|
47
|
+
type="7-Manifold Triangulation" typeid="107"
|
|
48
|
+
parent="Root">
|
|
49
|
+
<simplices size="2">
|
|
50
|
+
<simplex desc=""> 1 14038087 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 2054353 </simplex>
|
|
51
|
+
<simplex desc=""> 0 14038087 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 2054353 </simplex>
|
|
52
|
+
</simplices>
|
|
53
|
+
</packet> <!-- 7_D (7_Manifold Triangulation) -->
|
|
54
|
+
<packet label="8-D"
|
|
55
|
+
type="8-Manifold Triangulation" typeid="108"
|
|
56
|
+
parent="Root">
|
|
57
|
+
<simplices size="2">
|
|
58
|
+
<simplex desc=""> 1 31763669256 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 2271560481 </simplex>
|
|
59
|
+
<simplex desc=""> 0 31763669256 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 2271560481 </simplex>
|
|
60
|
+
</simplices>
|
|
61
|
+
</packet> <!-- 8_D (8_Manifold Triangulation) -->
|
|
62
|
+
<packet label="9-D"
|
|
63
|
+
type="9-Manifold Triangulation" typeid="109"
|
|
64
|
+
parent="Root">
|
|
65
|
+
<simplices size="2">
|
|
66
|
+
<simplex desc=""> 1 581519483145 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 40926266145 </simplex>
|
|
67
|
+
<simplex desc=""> 0 581519483145 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 40926266145 </simplex>
|
|
68
|
+
</simplices>
|
|
69
|
+
</packet> <!-- 9_D (9_Manifold Triangulation) -->
|
|
70
|
+
<packet label="10-D"
|
|
71
|
+
type="10-Manifold Triangulation" typeid="110"
|
|
72
|
+
parent="Root">
|
|
73
|
+
<simplices size="2">
|
|
74
|
+
<simplex desc=""> 1 10477124133130 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 728121033505 </simplex>
|
|
75
|
+
<simplex desc=""> 0 10477124133130 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 728121033505 </simplex>
|
|
76
|
+
</simplices>
|
|
77
|
+
</packet> <!-- 10_D (10_Manifold Triangulation) -->
|
|
78
|
+
<packet label="11-D"
|
|
79
|
+
type="11-Manifold Triangulation" typeid="111"
|
|
80
|
+
parent="Root">
|
|
81
|
+
<simplices size="2">
|
|
82
|
+
<simplex desc=""> 1 186398984577291 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 12822748939041 </simplex>
|
|
83
|
+
<simplex desc=""> 0 186398984577291 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 12822748939041 </simplex>
|
|
84
|
+
</simplices>
|
|
85
|
+
</packet> <!-- 11_D (11_Manifold Triangulation) -->
|
|
86
|
+
<packet label="12-D"
|
|
87
|
+
type="12-Manifold Triangulation" typeid="112"
|
|
88
|
+
parent="Root">
|
|
89
|
+
<simplices size="2">
|
|
90
|
+
<simplex desc=""> 1 3282623728394508 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 223928981472033 </simplex>
|
|
91
|
+
<simplex desc=""> 0 3282623728394508 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 223928981472033 </simplex>
|
|
92
|
+
</simplices>
|
|
93
|
+
</packet> <!-- 12_D (12_Manifold Triangulation) -->
|
|
94
|
+
<packet label="13-D"
|
|
95
|
+
type="13-Manifold Triangulation" typeid="113"
|
|
96
|
+
parent="Root">
|
|
97
|
+
<simplices size="2">
|
|
98
|
+
<simplex desc=""> 1 57325819256840461 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 3883103678710561 </simplex>
|
|
99
|
+
<simplex desc=""> 0 57325819256840461 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 3883103678710561 </simplex>
|
|
100
|
+
</simplices>
|
|
101
|
+
</packet> <!-- 13_D (13_Manifold Triangulation) -->
|
|
102
|
+
<packet label="14-D"
|
|
103
|
+
type="14-Manifold Triangulation" typeid="114"
|
|
104
|
+
parent="Root">
|
|
105
|
+
<simplices size="2">
|
|
106
|
+
<simplex desc=""> 1 994074541749903630 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 66933498461897505 </simplex>
|
|
107
|
+
<simplex desc=""> 0 994074541749903630 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 66933498461897505 </simplex>
|
|
108
|
+
</simplices>
|
|
109
|
+
</packet> <!-- 14_D (14_Manifold Triangulation) -->
|
|
110
|
+
<packet label="15-D"
|
|
111
|
+
type="15-Manifold Triangulation" typeid="115"
|
|
112
|
+
parent="Root">
|
|
113
|
+
<simplices size="2">
|
|
114
|
+
<simplex desc=""> 1 17134975606245761295 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 1147797409030816545 </simplex>
|
|
115
|
+
<simplex desc=""> 0 17134975606245761295 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 1147797409030816545 </simplex>
|
|
116
|
+
</simplices>
|
|
117
|
+
</packet> <!-- 15_D (15_Manifold Triangulation) -->
|
|
118
|
+
</packet> <!-- Root (Container) -->
|
|
119
|
+
</reginadata>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
CensusPurge.Nil -> False
|
|
2
|
+
CensusPurge.Nil -> False
|
|
3
|
+
CensusPurge.NonMinimal -> True
|
|
4
|
+
CensusPurge.NonMinimal -> True
|
|
5
|
+
AngleAlg.Default -> False
|
|
6
|
+
AngleAlg.Default -> False
|
|
7
|
+
AngleAlg.Tree -> True
|
|
8
|
+
AngleAlg.Tree -> True
|
|
9
|
+
HyperList.Default -> False
|
|
10
|
+
HyperList.Default -> False
|
|
11
|
+
HyperList.Vertex -> True
|
|
12
|
+
HyperList.Vertex -> True
|
|
13
|
+
HyperAlg.Default -> False
|
|
14
|
+
HyperAlg.Default -> False
|
|
15
|
+
HyperAlg.VertexDD -> True
|
|
16
|
+
HyperAlg.VertexDD -> True
|
|
17
|
+
NormalList.Default -> False
|
|
18
|
+
NormalList.Default -> False
|
|
19
|
+
NormalList.Fundamental -> True
|
|
20
|
+
NormalList.Fundamental -> True
|
|
21
|
+
NormalAlg.Default -> False
|
|
22
|
+
NormalAlg.Default -> False
|
|
23
|
+
NormalAlg.VertexTree -> True
|
|
24
|
+
NormalAlg.VertexTree -> True
|
|
25
|
+
SurfaceExport.Nil -> False
|
|
26
|
+
SurfaceExport.Nil -> False
|
|
27
|
+
SurfaceExport.Name -> True
|
|
28
|
+
SurfaceExport.Name -> True
|
|
29
|
+
NormalCoords.Standard -> True
|
|
30
|
+
NormalCoords.Quad -> True
|
|
31
|
+
TriangleType.Unknown -> True
|
|
32
|
+
TriangleType.Parachute -> True
|
|
33
|
+
9 embedded, vertex surfaces (Standard normal (tri-quad))
|
|
34
|
+
9 embedded, vertex surfaces (Standard normal (tri-quad))
|
|
35
|
+
9 embedded, vertex surfaces (Standard normal (tri-quad))
|
|
36
|
+
9 embedded, fundamental surfaces (Standard normal (tri-quad))
|
|
37
|
+
39 embedded / immersed / singular, vertex surfaces (Standard normal (tri-quad))
|
|
38
|
+
59 embedded / immersed / singular, fundamental surfaces (Standard normal (tri-quad))
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
CensusPurge.Nil -> False
|
|
2
|
+
0x00 -> False
|
|
3
|
+
CensusPurge.NonMinimal -> True
|
|
4
|
+
0x01 -> True
|
|
5
|
+
AngleAlg.Default -> False
|
|
6
|
+
0x0000 -> False
|
|
7
|
+
AngleAlg.Tree -> True
|
|
8
|
+
0x0010 -> True
|
|
9
|
+
HyperList.Default -> False
|
|
10
|
+
0x0000 -> False
|
|
11
|
+
HyperList.Vertex -> True
|
|
12
|
+
0x0004 -> True
|
|
13
|
+
HyperAlg.Default -> False
|
|
14
|
+
0x0000 -> False
|
|
15
|
+
HyperAlg.VertexDD -> True
|
|
16
|
+
0x0020 -> True
|
|
17
|
+
NormalList.Default -> False
|
|
18
|
+
0x0000 -> False
|
|
19
|
+
NormalList.Fundamental -> True
|
|
20
|
+
0x0008 -> True
|
|
21
|
+
NormalAlg.Default -> False
|
|
22
|
+
0x0000 -> False
|
|
23
|
+
NormalAlg.VertexTree -> True
|
|
24
|
+
0x0010 -> True
|
|
25
|
+
SurfaceExport.Nil -> False
|
|
26
|
+
0x0000 -> False
|
|
27
|
+
SurfaceExport.Name -> True
|
|
28
|
+
0x0001 -> True
|
|
29
|
+
NormalCoords.Standard -> True
|
|
30
|
+
NormalCoords.Quad -> True
|
|
31
|
+
TriangleType.Unknown -> True
|
|
32
|
+
TriangleType.Parachute -> True
|
|
33
|
+
9 embedded, vertex surfaces (Standard normal (tri-quad))
|
|
34
|
+
9 embedded, vertex surfaces (Standard normal (tri-quad))
|
|
35
|
+
9 embedded, vertex surfaces (Standard normal (tri-quad))
|
|
36
|
+
9 embedded, fundamental surfaces (Standard normal (tri-quad))
|
|
37
|
+
39 embedded / immersed / singular, vertex surfaces (Standard normal (tri-quad))
|
|
38
|
+
59 embedded / immersed / singular, fundamental surfaces (Standard normal (tri-quad))
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Regina - A Normal Surface Theory Calculator
|
|
2
|
+
# Python Test Suite Component
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2023-2025, Ben Burton
|
|
5
|
+
# For further details contact Ben Burton (bab@debian.org).
|
|
6
|
+
#
|
|
7
|
+
# Tests flags and flag sets.
|
|
8
|
+
#
|
|
9
|
+
# This file is a single component of Regina's python test suite. To run
|
|
10
|
+
# the python test suite, move to the main python directory in the source
|
|
11
|
+
# tree and run "make check".
|
|
12
|
+
#
|
|
13
|
+
# This program is free software; you can redistribute it and/or
|
|
14
|
+
# modify it under the terms of the GNU General Public License as
|
|
15
|
+
# published by the Free Software Foundation; either version 2 of the
|
|
16
|
+
# License, or (at your option) any later version.
|
|
17
|
+
#
|
|
18
|
+
# As an exception, when this program is distributed through (i) the
|
|
19
|
+
# App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
|
|
20
|
+
# (iii) Google Play by Google Inc., then that store may impose any
|
|
21
|
+
# digital rights management, device limits and/or redistribution
|
|
22
|
+
# restrictions that are required by its terms of service.
|
|
23
|
+
#
|
|
24
|
+
# This program is distributed in the hope that it will be useful, but
|
|
25
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
26
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
27
|
+
# General Public License for more details.
|
|
28
|
+
#
|
|
29
|
+
# You should have received a copy of the GNU General Public License
|
|
30
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
31
|
+
|
|
32
|
+
def evalObj(x):
|
|
33
|
+
if x:
|
|
34
|
+
print(x, '-> True')
|
|
35
|
+
else:
|
|
36
|
+
print(x, '-> False')
|
|
37
|
+
|
|
38
|
+
def evalFlag(x):
|
|
39
|
+
# Evaluate as a raw enum value:
|
|
40
|
+
evalObj(x)
|
|
41
|
+
|
|
42
|
+
# Evaluate as a rich flags object:
|
|
43
|
+
evalObj(x | x)
|
|
44
|
+
|
|
45
|
+
evalFlag(regina.CensusPurge.Nil)
|
|
46
|
+
evalFlag(regina.CensusPurge.NonMinimal)
|
|
47
|
+
|
|
48
|
+
evalFlag(regina.AngleAlg.Default)
|
|
49
|
+
evalFlag(regina.AngleAlg.Tree)
|
|
50
|
+
|
|
51
|
+
evalFlag(regina.HyperList.Default)
|
|
52
|
+
evalFlag(regina.HyperList.Vertex)
|
|
53
|
+
|
|
54
|
+
evalFlag(regina.HyperAlg.Default)
|
|
55
|
+
evalFlag(regina.HyperAlg.VertexDD)
|
|
56
|
+
|
|
57
|
+
evalFlag(regina.NormalList.Default)
|
|
58
|
+
evalFlag(regina.NormalList.Fundamental)
|
|
59
|
+
|
|
60
|
+
evalFlag(regina.NormalAlg.Default)
|
|
61
|
+
evalFlag(regina.NormalAlg.VertexTree)
|
|
62
|
+
|
|
63
|
+
evalFlag(regina.SurfaceExport.Nil)
|
|
64
|
+
evalFlag(regina.SurfaceExport.Name)
|
|
65
|
+
|
|
66
|
+
# Some enum types that are NOT intended to be used as flags:
|
|
67
|
+
|
|
68
|
+
evalObj(regina.NormalCoords.Standard) # value is zero
|
|
69
|
+
evalObj(regina.NormalCoords.Quad) # value is non-zero
|
|
70
|
+
evalObj(regina.Triangle3.Type.Unknown) # value is zero
|
|
71
|
+
evalObj(regina.Triangle3.Type.Parachute) # value is non-zero
|
|
72
|
+
|
|
73
|
+
# Verify that boolean combinations of flags are behaving as expected:
|
|
74
|
+
|
|
75
|
+
t = Example3.lst(3,4)
|
|
76
|
+
print(NormalSurfaces(t, NormalCoords.Standard))
|
|
77
|
+
print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Default))
|
|
78
|
+
print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Vertex))
|
|
79
|
+
print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Fundamental))
|
|
80
|
+
print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Vertex | NormalList.ImmersedSingular))
|
|
81
|
+
print(NormalSurfaces(t, NormalCoords.Standard, NormalList.Fundamental | NormalList.ImmersedSingular))
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
0 0 cdbb,dcaa,ddab,ccba
|
|
2
|
+
0 2 bbdc,daac,dbad,cabc
|
|
3
|
+
1 0 cdbb,dcaa,ddab,ccba
|
|
4
|
+
1 2 cbbd,aacd,dbad,cabc
|
|
5
|
+
2 1 bcdb,adca,abdd,accb
|
|
6
|
+
2 3 bbdc,aacd,ddba,abcc
|
|
7
|
+
3 1 bcdb,adca,bdda,bacc
|
|
8
|
+
3 3 bbdc,aacd,badd,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,qgai,jqhr,kqir,slMj,mMkt,nHlu,oHmv,wpdn,coxb,jghi,sjiy,ytkr,ulsz,vmtA,wnuB,Cxov,pwDa,Nzsr,AtyN,BuzG,CvAG,FDwB,xCEE,FRDD,GIEC,ALFB,Mmne,LJRF,KKQI,LPJJ,GOKI,klHf,SOzy,PLNS,QKOT,JPTR,IQUE,VTON,VQPS,RVVa,TSUU
|
|
37
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Regina - A Normal Surface Theory Calculator
|
|
2
|
+
# Python Test Suite Component
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2007-2025, Ben Burton
|
|
5
|
+
# For further details contact Ben Burton (bab@debian.org).
|
|
6
|
+
#
|
|
7
|
+
# Provides detailed tests for flypes on model link graphs.
|
|
8
|
+
#
|
|
9
|
+
# This file is a single component of Regina's python test suite. To run
|
|
10
|
+
# the python test suite, move to the main python directory in the source
|
|
11
|
+
# tree and run "make check".
|
|
12
|
+
#
|
|
13
|
+
# This program is free software; you can redistribute it and/or
|
|
14
|
+
# modify it under the terms of the GNU General Public License as
|
|
15
|
+
# published by the Free Software Foundation; either version 2 of the
|
|
16
|
+
# License, or (at your option) any later version.
|
|
17
|
+
#
|
|
18
|
+
# As an exception, when this program is distributed through (i) the
|
|
19
|
+
# App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
|
|
20
|
+
# (iii) Google Play by Google Inc., then that store may impose any
|
|
21
|
+
# digital rights management, device limits and/or redistribution
|
|
22
|
+
# restrictions that are required by its terms of service.
|
|
23
|
+
#
|
|
24
|
+
# This program is distributed in the hope that it will be useful, but
|
|
25
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
26
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
27
|
+
# General Public License for more details.
|
|
28
|
+
#
|
|
29
|
+
# You should have received a copy of the GNU General Public License
|
|
30
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
31
|
+
|
|
32
|
+
def test(g):
|
|
33
|
+
for n in g.nodes():
|
|
34
|
+
for i in range(4):
|
|
35
|
+
start = n.arc(i)
|
|
36
|
+
args = g.findFlype(start)
|
|
37
|
+
if args[0]:
|
|
38
|
+
f = g.flype(start, args[0], args[1])
|
|
39
|
+
if (g.size() <= 52):
|
|
40
|
+
s = f.plantri()
|
|
41
|
+
else:
|
|
42
|
+
s = str(f)
|
|
43
|
+
print(n.index(), i, s)
|
|
44
|
+
print()
|
|
45
|
+
|
|
46
|
+
test(ExampleLink.figureEight().graph())
|
|
47
|
+
test(ExampleLink.whitehead().graph())
|
|
48
|
+
test(ExampleLink.gst().graph())
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
Triangulation: 5-D product #1
|
|
2
|
+
|
|
3
|
+
Connected: True
|
|
4
|
+
Orientable: True
|
|
5
|
+
Oriented: True
|
|
6
|
+
Boundary facets: 4
|
|
7
|
+
|
|
8
|
+
Bounded orientable 5-D triangulation, f = ( 1 5 10 10 5 1 )
|
|
9
|
+
|
|
10
|
+
Simplex | gluing: (01234) (01235) (01245) (01345) (02345) (12345)
|
|
11
|
+
---------+---------------------------------------------------------------------------------------
|
|
12
|
+
0 | 0 (12345) boundary boundary boundary boundary 0 (01234)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Triangulation: 5-D product #2
|
|
16
|
+
|
|
17
|
+
Connected: True
|
|
18
|
+
Orientable: True
|
|
19
|
+
Oriented: True
|
|
20
|
+
Boundary facets: 8
|
|
21
|
+
|
|
22
|
+
Bounded orientable 5-D triangulation, f = ( 2 10 20 20 10 2 )
|
|
23
|
+
|
|
24
|
+
Simplex | gluing: (01234) (01235) (01245) (01345) (02345) (12345)
|
|
25
|
+
---------+---------------------------------------------------------------------------------------
|
|
26
|
+
0 | 1 (12345) boundary boundary boundary boundary 1 (01234)
|
|
27
|
+
1 | 0 (12345) boundary boundary boundary boundary 0 (01234)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
Triangulation: 6-D product #1
|
|
31
|
+
|
|
32
|
+
Connected: True
|
|
33
|
+
Orientable: False
|
|
34
|
+
Oriented: False
|
|
35
|
+
Boundary facets: 5
|
|
36
|
+
|
|
37
|
+
Bounded non-orientable 6-D triangulation, f = ( 1 6 15 20 15 6 1 )
|
|
38
|
+
|
|
39
|
+
Simplex | gluing: (012345) (012346) (012356) (012456) (013456) (023456) (123456)
|
|
40
|
+
---------+-----------------------------------------------------------------------------------------------------------
|
|
41
|
+
0 | 0 (123456) boundary boundary boundary boundary boundary 0 (012345)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
Triangulation: 6-D product #2
|
|
45
|
+
|
|
46
|
+
Connected: True
|
|
47
|
+
Orientable: True
|
|
48
|
+
Oriented: True
|
|
49
|
+
Boundary facets: 10
|
|
50
|
+
|
|
51
|
+
Bounded orientable 6-D triangulation, f = ( 2 12 30 40 30 12 2 )
|
|
52
|
+
|
|
53
|
+
Simplex | gluing: (012345) (012346) (012356) (012456) (013456) (023456) (123456)
|
|
54
|
+
---------+-----------------------------------------------------------------------------------------------------------
|
|
55
|
+
0 | 1 (123456) boundary boundary boundary boundary boundary 1 (012345)
|
|
56
|
+
1 | 0 (123456) boundary boundary boundary boundary boundary 0 (012345)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
Triangulation: 7-D product #1
|
|
60
|
+
|
|
61
|
+
Connected: True
|
|
62
|
+
Orientable: True
|
|
63
|
+
Oriented: True
|
|
64
|
+
Boundary facets: 6
|
|
65
|
+
|
|
66
|
+
Bounded orientable 7-D triangulation, f = ( 1 7 21 35 35 21 7 1 )
|
|
67
|
+
|
|
68
|
+
Simplex | gluing: (0123456) (0123457) (0123467) (0123567) (0124567) (0134567) (0234567) (1234567)
|
|
69
|
+
---------+---------------------------------------------------------------------------------------------------------------------------------
|
|
70
|
+
0 | 0 (1234567) boundary boundary boundary boundary boundary boundary 0 (0123456)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
Triangulation: 7-D product #2
|
|
74
|
+
|
|
75
|
+
Connected: True
|
|
76
|
+
Orientable: True
|
|
77
|
+
Oriented: True
|
|
78
|
+
Boundary facets: 12
|
|
79
|
+
|
|
80
|
+
Bounded orientable 7-D triangulation, f = ( 2 14 42 70 70 42 14 2 )
|
|
81
|
+
|
|
82
|
+
Simplex | gluing: (0123456) (0123457) (0123467) (0123567) (0124567) (0134567) (0234567) (1234567)
|
|
83
|
+
---------+---------------------------------------------------------------------------------------------------------------------------------
|
|
84
|
+
0 | 1 (1234567) boundary boundary boundary boundary boundary boundary 1 (0123456)
|
|
85
|
+
1 | 0 (1234567) boundary boundary boundary boundary boundary boundary 0 (0123456)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
Triangulation: 8-D product #1
|
|
89
|
+
|
|
90
|
+
Connected: True
|
|
91
|
+
Orientable: False
|
|
92
|
+
Oriented: False
|
|
93
|
+
Boundary facets: 7
|
|
94
|
+
|
|
95
|
+
Bounded non-orientable 8-D triangulation, f = ( 1 8 28 56 70 56 28 8 1 )
|
|
96
|
+
|
|
97
|
+
Simplex | gluing: (01234567) (01234568) (01234578) (01234678) (01235678) (01245678) (01345678) (02345678) (12345678)
|
|
98
|
+
---------+---------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
99
|
+
0 | 0 (12345678) boundary boundary boundary boundary boundary boundary boundary 0 (01234567)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
Triangulation: 8-D product #2
|
|
103
|
+
|
|
104
|
+
Connected: True
|
|
105
|
+
Orientable: True
|
|
106
|
+
Oriented: True
|
|
107
|
+
Boundary facets: 14
|
|
108
|
+
|
|
109
|
+
Bounded orientable 8-D triangulation, f = ( 2 16 56 112 140 112 56 16 2 )
|
|
110
|
+
|
|
111
|
+
Simplex | gluing: (01234567) (01234568) (01234578) (01234678) (01235678) (01245678) (01345678) (02345678) (12345678)
|
|
112
|
+
---------+---------------------------------------------------------------------------------------------------------------------------------------------------------
|
|
113
|
+
0 | 1 (12345678) boundary boundary boundary boundary boundary boundary boundary 1 (01234567)
|
|
114
|
+
1 | 0 (12345678) boundary boundary boundary boundary boundary boundary boundary 0 (01234567)
|
|
115
|
+
|
|
116
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Regina - A Normal Surface Theory Calculator
|
|
2
|
+
# Python Test Suite Component
|
|
3
|
+
#
|
|
4
|
+
# Copyright (c) 2015-2025, Ben Burton
|
|
5
|
+
# For further details contact Ben Burton (bab@debian.org).
|
|
6
|
+
#
|
|
7
|
+
# Provides tests for high-dimensional triangulations.
|
|
8
|
+
#
|
|
9
|
+
# This file is a single component of Regina's python test suite. To run
|
|
10
|
+
# the python test suite, move to the main python directory in the source
|
|
11
|
+
# tree and run "make check".
|
|
12
|
+
#
|
|
13
|
+
# This program is free software; you can redistribute it and/or
|
|
14
|
+
# modify it under the terms of the GNU General Public License as
|
|
15
|
+
# published by the Free Software Foundation; either version 2 of the
|
|
16
|
+
# License, or (at your option) any later version.
|
|
17
|
+
#
|
|
18
|
+
# As an exception, when this program is distributed through (i) the
|
|
19
|
+
# App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
|
|
20
|
+
# (iii) Google Play by Google Inc., then that store may impose any
|
|
21
|
+
# digital rights management, device limits and/or redistribution
|
|
22
|
+
# restrictions that are required by its terms of service.
|
|
23
|
+
#
|
|
24
|
+
# This program is distributed in the hope that it will be useful, but
|
|
25
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
26
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
27
|
+
# General Public License for more details.
|
|
28
|
+
#
|
|
29
|
+
# You should have received a copy of the GNU General Public License
|
|
30
|
+
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
31
|
+
|
|
32
|
+
def product1(triClass, dim, permClass):
|
|
33
|
+
tri = triClass()
|
|
34
|
+
s = tri.newSimplex()
|
|
35
|
+
s.join(dim, s, permClass(list(range(1, dim+1)) + [0]))
|
|
36
|
+
return tri
|
|
37
|
+
|
|
38
|
+
def product2(triClass, dim, permClass):
|
|
39
|
+
tri = triClass()
|
|
40
|
+
s = tri.newSimplex()
|
|
41
|
+
t = tri.newSimplex()
|
|
42
|
+
s.join(dim, t, permClass(list(range(1, dim+1)) + [0]))
|
|
43
|
+
t.join(dim, s, permClass(list(range(1, dim+1)) + [0]))
|
|
44
|
+
return tri
|
|
45
|
+
|
|
46
|
+
def dump(tri, name):
|
|
47
|
+
print('Triangulation:', name)
|
|
48
|
+
print()
|
|
49
|
+
print('Connected:', tri.isConnected())
|
|
50
|
+
print('Orientable:', tri.isOrientable())
|
|
51
|
+
print('Oriented:', tri.isOrientable())
|
|
52
|
+
print('Boundary facets:', tri.countBoundaryFacets())
|
|
53
|
+
print()
|
|
54
|
+
print(tri.detail())
|
|
55
|
+
|
|
56
|
+
def testDim(triClass, dim, permClass):
|
|
57
|
+
dump(product1(triClass, dim, permClass), str(dim) + '-D product #1')
|
|
58
|
+
dump(product2(triClass, dim, permClass), str(dim) + '-D product #2')
|
|
59
|
+
|
|
60
|
+
#testDim(Triangulation2, 2, Perm3)
|
|
61
|
+
#testDim(Triangulation3, 3, Perm4)
|
|
62
|
+
#testDim(Triangulation4, 4, Perm5)
|
|
63
|
+
testDim(Triangulation5, 5, Perm6)
|
|
64
|
+
testDim(Triangulation6, 6, Perm7)
|
|
65
|
+
testDim(Triangulation7, 7, Perm8)
|
|
66
|
+
testDim(Triangulation8, 8, Perm9)
|
|
67
|
+
#testDim(Triangulation9, 9, Perm10)
|
|
68
|
+
#testDim(Triangulation10, 10, Perm11)
|
|
69
|
+
#testDim(Triangulation11, 11, Perm12)
|
|
70
|
+
#testDim(Triangulation12, 12, Perm13)
|
|
71
|
+
#testDim(Triangulation13, 13, Perm14)
|
|
72
|
+
#testDim(Triangulation14, 14, Perm15)
|
|
73
|
+
#testDim(Triangulation15, 15, Perm16)
|
|
74
|
+
|