File: snappeacensusmfd.h

package info (click to toggle)
regina-normal 7.4.1-1.1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 154,244 kB
  • sloc: cpp: 295,026; xml: 9,992; sh: 1,344; python: 1,225; perl: 616; ansic: 138; makefile: 26
file content (136 lines) | stat: -rw-r--r-- 5,032 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/*
  This file contains docstrings for use in the Python bindings.
  Do not edit! They were automatically extracted by ../gendoc.sh.
 */

#if defined(__GNUG__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif

namespace regina::python::doc {


// Docstring regina::python::doc::SnapPeaCensusManifold
static const char *SnapPeaCensusManifold =
R"doc(Represents a 3-manifold from the SnapPea cusped census.

The SnapPea cusped census is the census of cusped hyperbolic
3-manifolds formed from up to seven tetrahedra. This census was
tabulated by Callahan, Hildebrand and Weeks, and is shipped with
SnapPea 3.0d3 (and also with Regina).

.. note::
    The modern cusped hyperbolic census now extends to nine
    tetrahedra, and indeed the 9-tetrahedron database is accessible
    through the Census lookup routines. However, for the time being,
    the scope of these SnapPeaCensusManifold and SnapPeaCensusTri
    classes is restricted to the original Callahan-Hildebrand-Weeks
    7-tetrahedron census only.

The census is split into five different sections according to number
of tetrahedra and orientability. Each of these sections corresponds to
one of the section constants defined in this class.

For further details regarding the SnapPea census, see "A census of
cusped hyperbolic 3-manifolds", Patrick J. Callahan, Martin V.
Hildebrand and Jeffrey R. Weeks, Math. Comp. 68 (1999), no. 225, pp.
321--332.

Note that this class is closely tied to SnapPeaCensusTri. In
particular, the section constants defined in SnapPeaCensusTri and
SnapPeaCensusManifold are identical, and so may be freely mixed.
Furthermore, the section and index parameters of a SnapPeaCensusTri
are identical to those of its corresponding SnapPeaCensusManifold.

All of the optional Manifold routines are implemented for this class.

This class supports copying but does not implement separate move
operations, since its internal data is so small that copying is just
as efficient. It implements the C++ Swappable requirement via its own
member and global swap() functions, for consistency with the other
manifold classes.)doc";

namespace SnapPeaCensusManifold_ {

// Docstring regina::python::doc::SnapPeaCensusManifold_::__copy
static const char *__copy = R"doc(Creates a new copy of the given SnapPea census manifold.)doc";

// Docstring regina::python::doc::SnapPeaCensusManifold_::__eq
static const char *__eq =
R"doc(Determines whether this and the given structure represent the same
3-manifold from the SnapPea census.

As of Regina 5.0, this test respects the recent discovery that the
manifolds ``x101`` and ``x103`` are homeomorphic. For details, see
B.B., _A duplicate pair in the SnapPea census_, Experimental
Mathematics, 23:170-173, 2014.

Parameter ``compare``:
    the structure with which this will be compared.

Returns:
    ``True`` if and only if this and the given structure represent the
    same SnapPea census manifold.)doc";

// Docstring regina::python::doc::SnapPeaCensusManifold_::__init
static const char *__init =
R"doc(Creates a new SnapPea census manifold with the given parameters.

Parameter ``section``:
    the section of the SnapPea census to which this manifold belongs.
    This must be one of the section constants defined in this class.

Parameter ``index``:
    specifies which particular manifold within the given section is
    represented. The indices for each section begin counting at zero,
    and so this index must be between 0 and *k*-1, where *k* is the
    total number of manifolds in the given section.)doc";

// Docstring regina::python::doc::SnapPeaCensusManifold_::global_swap
static const char *global_swap =
R"doc(Swaps the contents of the two given SnapPea census manifolds.

This global routine simply calls SnapPeaCensusManifold::swap(); it is
provided so that SnapPeaCensusManifold meets the C++ Swappable
requirements.

Parameter ``a``:
    the first census manifold whose contents should be swapped.

Parameter ``b``:
    the second census manifold whose contents should be swapped.)doc";

// Docstring regina::python::doc::SnapPeaCensusManifold_::index
static const char *index =
R"doc(Returns the index of this manifold within its particular section of
the SnapPea census. Note that indices for each section begin counting
at zero.

Returns:
    the index of this manifold within its section.)doc";

// Docstring regina::python::doc::SnapPeaCensusManifold_::section
static const char *section =
R"doc(Returns the section of the SnapPea census to which this manifold
belongs. This will be one of the section constants defined in this
class.

Returns:
    the section of the SnapPea census.)doc";

// Docstring regina::python::doc::SnapPeaCensusManifold_::swap
static const char *swap =
R"doc(Swaps the contents of this and the given SnapPea census manifold.

Parameter ``other``:
    the census manifold whose contents should be swapped with this.)doc";

}

} // namespace regina::python::doc

#if defined(__GNUG__)
#pragma GCC diagnostic pop
#endif