Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
1 | ·3b375ca0599f36fabd190452db32e6db·84168·libdevel·optional·libsiscone-dev_3.0.5-3_amd64.deb | 1 | ·3b375ca0599f36fabd190452db32e6db·84168·libdevel·optional·libsiscone-dev_3.0.5-3_amd64.deb |
2 | ·11fe075f244335c43b81c17406806e76·75780·libdevel·optional·libsiscone-spherical-dev_3.0.5-3_amd64.deb | 2 | ·11fe075f244335c43b81c17406806e76·75780·libdevel·optional·libsiscone-spherical-dev_3.0.5-3_amd64.deb |
3 | ·aa496f802673c420cc8313d315a345e9·434392·debug·optional·libsiscone-spherical0v5-dbgsym_3.0.5-3_amd64.deb | 3 | ·aa496f802673c420cc8313d315a345e9·434392·debug·optional·libsiscone-spherical0v5-dbgsym_3.0.5-3_amd64.deb |
4 | ·d73b08ae3f68a53d3abf44f57bcfb9c5·61720·libs·optional·libsiscone-spherical0v5_3.0.5-3_amd64.deb | 4 | ·d73b08ae3f68a53d3abf44f57bcfb9c5·61720·libs·optional·libsiscone-spherical0v5_3.0.5-3_amd64.deb |
5 | ·facd977e8e1ea5c1b63b7b213693abbb·507872·debug·optional·libsiscone0v5-dbgsym_3.0.5-3_amd64.deb | 5 | ·facd977e8e1ea5c1b63b7b213693abbb·507872·debug·optional·libsiscone0v5-dbgsym_3.0.5-3_amd64.deb |
6 | ·b11c7dd8df1b57ef0d4a442640466ff3·67624·libs·optional·libsiscone0v5_3.0.5-3_amd64.deb | 6 | ·b11c7dd8df1b57ef0d4a442640466ff3·67624·libs·optional·libsiscone0v5_3.0.5-3_amd64.deb |
7 | ·a29bf1d70bd51f36c2a660b2c65b7040·1187140·doc·optional·siscone-doc-html_3.0.5-3_all.deb | ||
8 | · | 7 | ·7712f4ad76ae5e7238971f61e5305482·1187892·doc·optional·siscone-doc-html_3.0.5-3_all.deb |
8 | ·01a8d5b15395e55d258dc863809f45fd·1655148·doc·optional·siscone-doc-pdf_3.0.5-3_all.deb | ||
9 | ·f55d27b2dd0698dc0b12d200da3aa5bf·34864·devel·optional·siscone-examples_3.0.5-3_all.deb | 9 | ·f55d27b2dd0698dc0b12d200da3aa5bf·34864·devel·optional·siscone-examples_3.0.5-3_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-01-07·11:57:28.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-01-07·11:57:28.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····856 | 2 | -rw-r--r--···0········0········0·····8560·2025-01-07·11:57:28.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··117 | 3 | -rw-r--r--···0········0········0··1179140·2025-01-07·11:57:28.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·siscone-doc-html | 1 | Package:·siscone-doc-html |
2 | Source:·siscone | 2 | Source:·siscone |
3 | Version:·3.0.5-3 | 3 | Version:·3.0.5-3 |
4 | Architecture:·all | 4 | Architecture:·all |
5 | Maintainer:·Debian·Science·Maintainers·<debian-science-maintainers@lists.alioth.debian.org> | 5 | Maintainer:·Debian·Science·Maintainers·<debian-science-maintainers@lists.alioth.debian.org> |
6 | Installed-Size:·58 | 6 | Installed-Size:·5832 |
7 | Depends:·libjs-jquery | 7 | Depends:·libjs-jquery |
8 | Section:·doc | 8 | Section:·doc |
9 | Priority:·optional | 9 | Priority:·optional |
10 | Multi-Arch:·foreign | 10 | Multi-Arch:·foreign |
11 | Homepage:·http://projects.hepforge.org/siscone/ | 11 | Homepage:·http://projects.hepforge.org/siscone/ |
12 | Description:·Developer's·reference·manual·of·SISCone·(HTML) | 12 | Description:·Developer's·reference·manual·of·SISCone·(HTML) |
13 | ·SISCone·implements·a·Seedless·Infrared·(IR)·Safe·Cone·jet·algorithm,·it·takes | 13 | ·SISCone·implements·a·Seedless·Infrared·(IR)·Safe·Cone·jet·algorithm,·it·takes |
Offset 87, 19 lines modified | Offset 87, 19 lines modified | ||
87 | -rw-r--r--···0·root·········(0)·root·········(0)·····3325·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1Cvicinity__inclusion-members.html | 87 | -rw-r--r--···0·root·········(0)·root·········(0)·····3325·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1Cvicinity__inclusion-members.html |
88 | -rw-r--r--···0·root·········(0)·root·········(0)·····8069·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1Cvicinity__inclusion.html | 88 | -rw-r--r--···0·root·········(0)·root·········(0)·····8069·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1Cvicinity__inclusion.html |
89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1000·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1Cvicinity__inherit__graph.map | 89 | -rw-r--r--···0·root·········(0)·root·········(0)·····1000·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1Cvicinity__inherit__graph.map |
90 | -rw-r--r--···0·root·········(0)·root·········(0)·····8437·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1Cvicinity__inherit__graph.png | 90 | -rw-r--r--···0·root·········(0)·root·········(0)·····8437·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1Cvicinity__inherit__graph.png |
91 | -rw-r--r--···0·root·········(0)·root·········(0)·····5401·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1circulator-members.html | 91 | -rw-r--r--···0·root·········(0)·root·········(0)·····5401·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1circulator-members.html |
92 | -rw-r--r--···0·root·········(0)·root·········(0)····26943·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1circulator.html | 92 | -rw-r--r--···0·root·········(0)·root·········(0)····26943·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1circulator.html |
93 | -rw-r--r--···0·root·········(0)·root·········(0)·····4951·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__cones-members.html | 93 | -rw-r--r--···0·root·········(0)·root·········(0)·····4951·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__cones-members.html |
94 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 94 | -rw-r--r--···0·root·········(0)·root·········(0)····25473·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__cones.html |
95 | -rw-r--r--···0·root·········(0)·root·········(0)······822·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__cones__coll__graph.map | 95 | -rw-r--r--···0·root·········(0)·root·········(0)······822·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__cones__coll__graph.map |
96 | -rw-r--r--···0·root·········(0)·root·········(0)·····8816·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__cones__coll__graph.png | 96 | -rw-r--r--···0·root·········(0)·root·········(0)·····8816·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__cones__coll__graph.png |
97 | -rw-r--r--···0·root·········(0)·root·········(0)·····3721·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__element-members.html | 97 | -rw-r--r--···0·root·········(0)·root·········(0)·····3721·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__element-members.html |
98 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 98 | -rw-r--r--···0·root·········(0)·root·········(0)····11157·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__element.html |
99 | -rw-r--r--···0·root·········(0)·root·········(0)······573·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__element__coll__graph.map | 99 | -rw-r--r--···0·root·········(0)·root·········(0)······573·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__element__coll__graph.map |
100 | -rw-r--r--···0·root·········(0)·root·········(0)·····5833·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__element__coll__graph.png | 100 | -rw-r--r--···0·root·········(0)·root·········(0)·····5833·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone_1_1hash__element__coll__graph.png |
101 | -rw-r--r--···0·root·········(0)·root·········(0)····11137·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector-members.html | 101 | -rw-r--r--···0·root·········(0)·root·········(0)····11137·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector-members.html |
102 | -rw-r--r--···0·root·········(0)·root·········(0)····64270·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector.html | 102 | -rw-r--r--···0·root·········(0)·root·········(0)····64270·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector.html |
103 | -rw-r--r--···0·root·········(0)·root·········(0)······478·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector__coll__graph.map | 103 | -rw-r--r--···0·root·········(0)·root·········(0)······478·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector__coll__graph.map |
104 | -rw-r--r--···0·root·········(0)·root·········(0)·····5961·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector__coll__graph.png | 104 | -rw-r--r--···0·root·········(0)·root·········(0)·····5961·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector__coll__graph.png |
105 | -rw-r--r--···0·root·········(0)·root·········(0)······506·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector__inherit__graph.map | 105 | -rw-r--r--···0·root·········(0)·root·········(0)······506·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/classsiscone__spherical_1_1CSph3vector__inherit__graph.map |
Offset 211, 23 lines modified | Offset 211, 23 lines modified | ||
211 | -rw-r--r--···0·root·········(0)·root·········(0)·····6638·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_s.html | 211 | -rw-r--r--···0·root·········(0)·root·········(0)·····6638·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_s.html |
212 | -rw-r--r--···0·root·········(0)·root·········(0)·····3190·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_t.html | 212 | -rw-r--r--···0·root·········(0)·root·········(0)·····3190·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_t.html |
213 | -rw-r--r--···0·root·········(0)·root·········(0)·····2318·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_u.html | 213 | -rw-r--r--···0·root·········(0)·root·········(0)·····2318·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_u.html |
214 | -rw-r--r--···0·root·········(0)·root·········(0)·····4263·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_v.html | 214 | -rw-r--r--···0·root·········(0)·root·········(0)·····4263·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_v.html |
215 | -rw-r--r--···0·root·········(0)·root·········(0)····30417·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_vars.html | 215 | -rw-r--r--···0·root·········(0)·root·········(0)····30417·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_vars.html |
216 | -rw-r--r--···0·root·········(0)·root·········(0)·····2154·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_x.html | 216 | -rw-r--r--···0·root·········(0)·root·········(0)·····2154·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_x.html |
217 | -rw-r--r--···0·root·········(0)·root·········(0)·····5351·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_~.html | 217 | -rw-r--r--···0·root·········(0)·root·········(0)·····5351·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/functions_~.html |
218 | -rw-r--r--···0·root·········(0)·root·········(0)····3 | 218 | -rw-r--r--···0·root·········(0)·root·········(0)····34266·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/geom__2d_8cpp_source.html |
219 | -rw-r--r--···0·root·········(0)·root·········(0)····3 | 219 | -rw-r--r--···0·root·········(0)·root·········(0)····31824·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/geom__2d_8h_source.html |
220 | -rw-r--r--···0·root·········(0)·root·········(0)·····2551·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/globals.html | 220 | -rw-r--r--···0·root·········(0)·root·········(0)·····2551·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/globals.html |
221 | -rw-r--r--···0·root·········(0)·root·········(0)·····2433·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/globals_defs.html | 221 | -rw-r--r--···0·root·········(0)·root·········(0)·····2433·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/globals_defs.html |
222 | -rw-r--r--···0·root·········(0)·root·········(0)·····2058·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/globals_vars.html | 222 | -rw-r--r--···0·root·········(0)·root·········(0)·····2058·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/globals_vars.html |
223 | -rw-r--r--···0·root·········(0)·root·········(0)·····6196·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/graph_legend.html | 223 | -rw-r--r--···0·root·········(0)·root·········(0)·····6196·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/graph_legend.html |
224 | -rw-r--r--···0·root·········(0)·root·········(0)····23370·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/graph_legend.png | 224 | -rw-r--r--···0·root·········(0)·root·········(0)····23370·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/graph_legend.png |
225 | -rw-r--r--···0·root·········(0)·root·········(0)····5 | 225 | -rw-r--r--···0·root·········(0)·root·········(0)····54599·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/hash_8cpp_source.html |
226 | -rw-r--r--···0·root·········(0)·root·········(0)····225 | 226 | -rw-r--r--···0·root·········(0)·root·········(0)····23259·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/hash_8h_source.html |
227 | -rw-r--r--···0·root·········(0)·root·········(0)····16740·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/hierarchy.html | 227 | -rw-r--r--···0·root·········(0)·root·········(0)····16740·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/hierarchy.html |
228 | -rw-r--r--···0·root·········(0)·root·········(0)·····1949·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/index.html | 228 | -rw-r--r--···0·root·········(0)·root·········(0)·····1949·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/index.html |
229 | -rw-r--r--···0·root·········(0)·root·········(0)······213·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_0.map | 229 | -rw-r--r--···0·root·········(0)·root·········(0)······213·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_0.map |
230 | -rw-r--r--···0·root·········(0)·root·········(0)·····1411·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_0.png | 230 | -rw-r--r--···0·root·········(0)·root·········(0)·····1411·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_0.png |
231 | -rw-r--r--···0·root·········(0)·root·········(0)······272·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_1.map | 231 | -rw-r--r--···0·root·········(0)·root·········(0)······272·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_1.map |
232 | -rw-r--r--···0·root·········(0)·root·········(0)·····2185·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_1.png | 232 | -rw-r--r--···0·root·········(0)·root·········(0)·····2185·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_1.png |
233 | -rw-r--r--···0·root·········(0)·root·········(0)······271·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_10.map | 233 | -rw-r--r--···0·root·········(0)·root·········(0)······271·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_10.map |
Offset 280, 42 lines modified | Offset 280, 42 lines modified | ||
280 | -rw-r--r--···0·root·········(0)·root·········(0)·····1670·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_7.png | 280 | -rw-r--r--···0·root·········(0)·root·········(0)·····1670·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_7.png |
281 | -rw-r--r--···0·root·········(0)·root·········(0)······255·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_8.map | 281 | -rw-r--r--···0·root·········(0)·root·········(0)······255·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_8.map |
282 | -rw-r--r--···0·root·········(0)·root·········(0)·····1737·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_8.png | 282 | -rw-r--r--···0·root·········(0)·root·········(0)·····1737·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_8.png |
283 | -rw-r--r--···0·root·········(0)·root·········(0)·····1317·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_9.map | 283 | -rw-r--r--···0·root·········(0)·root·········(0)·····1317·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_9.map |
284 | -rw-r--r--···0·root·········(0)·root·········(0)····10333·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_9.png | 284 | -rw-r--r--···0·root·········(0)·root·········(0)····10333·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherit_graph_9.png |
285 | -rw-r--r--···0·root·········(0)·root·········(0)····14156·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherits.html | 285 | -rw-r--r--···0·root·········(0)·root·········(0)····14156·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/inherits.html |
286 | -rw-r--r--···0·root·········(0)·root·········(0)····30264·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/main_8cpp_source.html | 286 | -rw-r--r--···0·root·········(0)·root·········(0)····30264·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/main_8cpp_source.html |
287 | -rw-r--r--···0·root·········(0)·root·········(0)····4 | 287 | -rw-r--r--···0·root·········(0)·root·········(0)····43382·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/momentum_8cpp_source.html |
288 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 288 | -rw-r--r--···0·root·········(0)·root·········(0)····41438·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/momentum_8h_source.html |
289 | -rw-r--r--···0·root·········(0)·root·········(0)······153·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_f.png | 289 | -rw-r--r--···0·root·········(0)·root·········(0)······153·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_f.png |
290 | -rw-r--r--···0·root·········(0)·root·········(0)······169·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_fd.png | 290 | -rw-r--r--···0·root·········(0)·root·········(0)······169·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_fd.png |
291 | -rw-r--r--···0·root·········(0)·root·········(0)·······95·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_g.png | 291 | -rw-r--r--···0·root·········(0)·root·········(0)·······95·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_g.png |
292 | -rw-r--r--···0·root·········(0)·root·········(0)·······98·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_h.png | 292 | -rw-r--r--···0·root·········(0)·root·········(0)·······98·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_h.png |
293 | -rw-r--r--···0·root·········(0)·root·········(0)······114·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_hd.png | 293 | -rw-r--r--···0·root·········(0)·root·········(0)······114·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/nav_hd.png |
294 | -rw-r--r--···0·root·········(0)·root·········(0)······123·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/open.png | 294 | -rw-r--r--···0·root·········(0)·root·········(0)······123·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/open.png |
295 | -rw-r--r--···0·root·········(0)·root·········(0)····52456·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/options_8cpp_source.html | 295 | -rw-r--r--···0·root·········(0)·root·········(0)····52456·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/options_8cpp_source.html |
296 | -rw-r--r--···0·root·········(0)·root·········(0)····19814·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/options_8h_source.html | 296 | -rw-r--r--···0·root·········(0)·root·········(0)····19814·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/options_8h_source.html |
297 | -rw-r--r--···0·root·········(0)·root·········(0)···151302·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/protocones_8cpp_source.html | 297 | -rw-r--r--···0·root·········(0)·root·········(0)···151302·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/protocones_8cpp_source.html |
298 | -rw-r--r--···0·root·········(0)·root·········(0)····42169·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/protocones_8h_source.html | 298 | -rw-r--r--···0·root·········(0)·root·········(0)····42169·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/protocones_8h_source.html |
299 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 299 | -rw-r--r--···0·root·········(0)·root·········(0)····78917·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/quadtree_8cpp_source.html |
300 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 300 | -rw-r--r--···0·root·········(0)·root·········(0)····23576·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/quadtree_8h_source.html |
301 | -rw-r--r--···0·root·········(0)·root·········(0)····27 | 301 | -rw-r--r--···0·root·········(0)·root·········(0)····27767·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8cpp_source.html |
302 | -rw-r--r--···0·root·········(0)·root·········(0)·····7901·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8h.html | 302 | -rw-r--r--···0·root·········(0)·root·········(0)·····7901·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8h.html |
303 | -rw-r--r--···0·root·········(0)·root·········(0)·····1021·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8h__dep__incl.map | 303 | -rw-r--r--···0·root·········(0)·root·········(0)·····1021·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8h__dep__incl.map |
304 | -rw-r--r--···0·root·········(0)·root·········(0)····12914·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8h__dep__incl.png | 304 | -rw-r--r--···0·root·········(0)·root·········(0)····12914·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8h__dep__incl.png |
305 | -rw-r--r--···0·root·········(0)·root·········(0)·····9110·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8h_source.html | 305 | -rw-r--r--···0·root·········(0)·root·········(0)·····9110·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/ranlux_8h_source.html |
306 | -rw-r--r--···0·root·········(0)·root·········(0)····3 | 306 | -rw-r--r--···0·root·········(0)·root·········(0)····31722·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/reference_8cpp_source.html |
307 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 307 | -rw-r--r--···0·root·········(0)·root·········(0)····25626·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/reference_8h_source.html |
308 | -rw-r--r--···0·root·········(0)·root·········(0)····20314·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/sample_8cpp_source.html | 308 | -rw-r--r--···0·root·········(0)·root·········(0)····20314·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/sample_8cpp_source.html |
309 | -rw-r--r--···0·root·········(0)·root·········(0)····82494·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/siscone_2area_8cpp_source.html | 309 | -rw-r--r--···0·root·········(0)·root·········(0)····82494·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/siscone_2area_8cpp_source.html |
310 | -rw-r--r--···0·root·········(0)·root·········(0)····69584·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/siscone_8cpp_source.html | 310 | -rw-r--r--···0·root·········(0)·root·········(0)····69584·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/siscone_8cpp_source.html |
311 | -rw-r--r--···0·root·········(0)·root·········(0)····2 | 311 | -rw-r--r--···0·root·········(0)·root·········(0)····23913·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/siscone_8h_source.html |
312 | -rw-r--r--···0·root·········(0)·root·········(0)·····8010·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/siscone__error_8cpp_source.html | 312 | -rw-r--r--···0·root·········(0)·root·········(0)·····8010·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/siscone__error_8cpp_source.html |
313 | -rw-r--r--···0·root·········(0)·root·········(0)····1 | 313 | -rw-r--r--···0·root·········(0)·root·········(0)····15205·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/siscone__error_8h_source.html |
314 | -rw-r--r--···0·root·········(0)·root·········(0)····38 | 314 | -rw-r--r--···0·root·········(0)·root·········(0)····38354·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2geom__2d_8cpp_source.html |
315 | -rw-r--r--···0·root·········(0)·root·········(0)····22147·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2geom__2d_8h_source.html | 315 | -rw-r--r--···0·root·········(0)·root·········(0)····22147·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2geom__2d_8h_source.html |
316 | -rw-r--r--···0·root·········(0)·root·········(0)····47436·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2hash_8cpp_source.html | 316 | -rw-r--r--···0·root·········(0)·root·········(0)····47436·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2hash_8cpp_source.html |
317 | -rw-r--r--···0·root·········(0)·root·········(0)····22598·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2hash_8h_source.html | 317 | -rw-r--r--···0·root·········(0)·root·········(0)····22598·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2hash_8h_source.html |
318 | -rw-r--r--···0·root·········(0)·root·········(0)····81643·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2momentum_8cpp_source.html | 318 | -rw-r--r--···0·root·········(0)·root·········(0)····81643·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2momentum_8cpp_source.html |
319 | -rw-r--r--···0·root·········(0)·root·········(0)····70241·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2momentum_8h_source.html | 319 | -rw-r--r--···0·root·········(0)·root·········(0)····70241·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2momentum_8h_source.html |
320 | -rw-r--r--···0·root·········(0)·root·········(0)···165885·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2protocones_8cpp_source.html | 320 | -rw-r--r--···0·root·········(0)·root·········(0)···165885·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2protocones_8cpp_source.html |
321 | -rw-r--r--···0·root·········(0)·root·········(0)····43293·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2protocones_8h_source.html | 321 | -rw-r--r--···0·root·········(0)·root·········(0)····43293·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-html/html/devel/spherical_2protocones_8h_source.html |
Offset 196, 15 lines modified | Offset 196, 15 lines modified | ||
196 | ··</table> | 196 | ··</table> |
197 | ··</dd> | 197 | ··</dd> |
198 | </dl> | 198 | </dl> |
199 | <dl·class="section·return"><dt>Returns</dt><dd>0·on·success,·1·on·error·</dd></dl> | 199 | <dl·class="section·return"><dt>Returns</dt><dd>0·on·success,·1·on·error·</dd></dl> |
200 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8cpp_source.html#l00171">171</a>·of·file·<a·class="el"·href="hash_8cpp_source.html">hash.cpp</a>.</p> | 200 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8cpp_source.html#l00171">171</a>·of·file·<a·class="el"·href="hash_8cpp_source.html">hash.cpp</a>.</p> |
201 | <p·class="reference">References·<a·class="el"·href=" | 201 | <p·class="reference">References·<a·class="el"·href="momentum_8h_source.html#l00114">siscone::Cmomentum::eta</a>,·<a·class="el"·href="hash_8h_source.html#l00093">hash_array</a>,·<a·class="el"·href="hash_8h_source.html#l00104">mask</a>,·<a·class="el"·href="hash_8h_source.html#l00096">n_cones</a>,·<a·class="el[·...·truncated·by·diffoscope;·len:·63,·SHA:·ad2019e004fbd0af80c8c4ce2381206f3ed5576b47cb5b96f43b4cfa1622b406·...·]</a>,·<a·class="el"·href="momentum_8h_source.html#l00122">siscone::Cmomentum::ref</a>,·and·<a·class="el"·href="reference_8h_source.html#l00072">siscone::Creference::ref</a>.</p> |
202 | </div> | 202 | </div> |
203 | </div> | 203 | </div> |
204 | <a·id="a4d4f5cf710dde0fa86766c4f7809fe35"·name="a4d4f5cf710dde0fa86766c4f7809fe35"></a> | 204 | <a·id="a4d4f5cf710dde0fa86766c4f7809fe35"·name="a4d4f5cf710dde0fa86766c4f7809fe35"></a> |
205 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4d4f5cf710dde0fa86766c4f7809fe35">◆ </a></span>insert()·<span·class="overload">[2/2]</span></h2> | 205 | <h2·class="memtitle"><span·class="permalink"><a·href="#a4d4f5cf710dde0fa86766c4f7809fe35">◆ </a></span>insert()·<span·class="overload">[2/2]</span></h2> |
206 | <div·class="memitem"> | 206 | <div·class="memitem"> |
Offset 259, 15 lines modified | Offset 259, 15 lines modified | ||
259 | ··</table> | 259 | ··</table> |
260 | ··</dd> | 260 | ··</dd> |
261 | </dl> | 261 | </dl> |
262 | <dl·class="section·return"><dt>Returns</dt><dd>0·on·success,·1·on·error·</dd></dl> | 262 | <dl·class="section·return"><dt>Returns</dt><dd>0·on·success,·1·on·error·</dd></dl> |
263 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8cpp_source.html#l00102">102</a>·of·file·<a·class="el"·href="hash_8cpp_source.html">hash.cpp</a>.</p> | 263 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8cpp_source.html#l00102">102</a>·of·file·<a·class="el"·href="hash_8cpp_source.html">hash.cpp</a>.</p> |
264 | <p·class="reference">References·<a·class="el"·href="momentum_8cpp_source.html#l00134">siscone::Cmomentum::build_etaphi()</a>,·<a·class="el"·href=" | 264 | <p·class="reference">References·<a·class="el"·href="momentum_8cpp_source.html#l00134">siscone::Cmomentum::build_etaphi()</a>,·<a·class="el"·href="momentum_8h_source.html#l00114">siscone::Cmomentum::eta</a>,·<a·class="el"·href="hash_8h_source.html#l00093">hash_array</a>,·<a·class="el"·href="hash_8cpp_source.html#l00219">is_inside()</a>,·<a·class="el"·href="hash_8h_source.html#l00104">mask</a>,·<a·cla[·...·truncated·by·diffoscope;·len:·130,·SHA:·0f9f84c38bf6211e441174cb8a5f1dd503d8f6a7a003a7a0c2c5e0e01c5db785·...·]</a>,·<a·class="el"·href="momentum_8h_source.html#l00122">siscone::Cmomentum::ref</a>,·and·<a·class="el"·href="reference_8h_source.html#l00072">siscone::Creference::ref</a>.</p> |
265 | </div> | 265 | </div> |
266 | </div> | 266 | </div> |
267 | <a·id="aee313f9213a4aad1782f9f1c8703f2bc"·name="aee313f9213a4aad1782f9f1c8703f2bc"></a> | 267 | <a·id="aee313f9213a4aad1782f9f1c8703f2bc"·name="aee313f9213a4aad1782f9f1c8703f2bc"></a> |
268 | <h2·class="memtitle"><span·class="permalink"><a·href="#aee313f9213a4aad1782f9f1c8703f2bc">◆ </a></span>is_inside()</h2> | 268 | <h2·class="memtitle"><span·class="permalink"><a·href="#aee313f9213a4aad1782f9f1c8703f2bc">◆ </a></span>is_inside()</h2> |
269 | <div·class="memitem"> | 269 | <div·class="memitem"> |
Offset 66, 18 lines modified | Offset 66, 16 lines modified | ||
66 | insert·a·new·candidate·into·the·hash. | 66 | insert·a·new·candidate·into·the·hash. |
67 | ··Parameters | 67 | ··Parameters |
68 | ······v·4-momentum·of·te·cone·to·add·Note,·in·this·case,·we·assume·stability. | 68 | ······v·4-momentum·of·te·cone·to·add·Note,·in·this·case,·we·assume·stability. |
69 | ········We·also·assume·that·eta·and·phi·are·computed·for·v | 69 | ········We·also·assume·that·eta·and·phi·are·computed·for·v |
70 | ··Returns | 70 | ··Returns |
71 | ······0·on·success,·1·on·error | 71 | ······0·on·success,·1·on·error |
72 | Definition·at·line·_\x81_\x87_\x81·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8c_\x8p_\x8p. | 72 | Definition·at·line·_\x81_\x87_\x81·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8c_\x8p_\x8p. |
73 | References·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8e_\x8t_\x8a,·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y,·_\x8m_\x8a_\x8s_\x8k,·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8: | ||
73 | References·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8:_\x8e_\x8t_\x8a,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8e_\x8t_\x8a,·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y, | ||
74 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8:_\x8i_\x8s_\x8__\x8s_\x8t_\x8a_\x8b_\x8l_\x8e,·_\x8m_\x8a_\x8s_\x8k,·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8:_\x8n_\x8e_\x8x_\x8t, | ||
75 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8:_\x8p_\x8h_\x8i,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8p_\x8h_\x8i,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8: | ||
76 | _\x8 | 74 | _\x8C_.m_.o_.m_.e_.n_.t_.u_.m_.:_.:_.p_.h_.i,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8r_\x8e_\x8f,·and·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8e_\x8f. |
77 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 i\x8in\x8ns\x8se\x8er\x8rt\x8t(\x8()\x8)·[\x8[2\x82/\x8/2\x82]\x8]·*\x8**\x8**\x8**\x8**\x8* | 75 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 i\x8in\x8ns\x8se\x8er\x8rt\x8t(\x8()\x8)·[\x8[2\x82/\x8/2\x82]\x8]·*\x8**\x8**\x8**\x8**\x8* |
78 | _\x8i_\x8n_\x8t·siscone::hash_cones::insert·(·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·v\x8v, | 76 | _\x8i_\x8n_\x8t·siscone::hash_cones::insert·(·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·v\x8v, |
79 | ··································_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·p\x8pa\x8ar\x8re\x8en\x8nt\x8t, | 77 | ··································_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·p\x8pa\x8ar\x8re\x8en\x8nt\x8t, |
80 | ··································_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·c\x8ch\x8hi\x8il\x8ld\x8d, | 78 | ··································_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·c\x8ch\x8hi\x8il\x8ld\x8d, |
81 | ··································_\x8b_\x8o_\x8o_\x8l ········p\x8p_\x8_i\x8io\x8o, | 79 | ··································_\x8b_\x8o_\x8o_\x8l ········p\x8p_\x8_i\x8io\x8o, |
82 | ··································_\x8b_\x8o_\x8o_\x8l ········c\x8c_\x8_i\x8io\x8o | 80 | ··································_\x8b_\x8o_\x8o_\x8l ········c\x8c_\x8_i\x8io\x8o |
83 | ································) | 81 | ································) |
Offset 87, 19 lines modified | Offset 85, 17 lines modified | ||
87 | ······parent·parent·particle·defining·the·cone | 85 | ······parent·parent·particle·defining·the·cone |
88 | ······child··child·particle·defining·the·cone | 86 | ······child··child·particle·defining·the·cone |
89 | ······p_io···whether·the·parent·has·to·belong·to·the·cone·or·not | 87 | ······p_io···whether·the·parent·has·to·belong·to·the·cone·or·not |
90 | ······c_io···whether·the·child·has·to·belong·to·the·cone·or·not | 88 | ······c_io···whether·the·child·has·to·belong·to·the·cone·or·not |
91 | ··Returns | 89 | ··Returns |
92 | ······0·on·success,·1·on·error | 90 | ······0·on·success,·1·on·error |
93 | Definition·at·line·_\x81_\x80_\x82·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8c_\x8p_\x8p. | 91 | Definition·at·line·_\x81_\x80_\x82·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8c_\x8p_\x8p. |
94 | References·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i_\x8(_\x8),·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8 | 92 | References·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i_\x8(_\x8),·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_.m_.o_.m_.e_.n_.t_.u_.m_\x8:_\x8:_\x8e_\x8t_\x8a, |
93 | _\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y,·_\x8i_\x8s_\x8__\x8i_\x8n_\x8s_\x8i_\x8d_\x8e_\x8(_\x8),·_\x8m_\x8a_\x8s_\x8k,·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8p_\x8h_\x8i,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8: | ||
95 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8e_\x8t_\x8a,·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y,·_\x8i_\x8s_\x8__\x8i_\x8n_\x8s_\x8i_\x8d_\x8e_\x8(_\x8),·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8: | ||
96 | _\x8i_\x8s_\x8__\x8s_\x8t_\x8a_\x8b_\x8l_\x8e,·_\x8m_\x8a_\x8s_\x8k,·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8:_\x8n_\x8e_\x8x_\x8t,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8: | ||
97 | _\x8p_\x8h_\x8i,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8p_\x8h_\x8i,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8:_\x8:_\x8r_\x8e_\x8f,·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8: | ||
98 | _\x8r_\x8e_\x8f,·and·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8e_\x8f. | 94 | _\x8C_.m_.o_.m_.e_.n_.t_.u_.m_.:_.:_.r_\x8e_\x8f,·and·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8e_\x8f. |
99 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 i\x8is\x8s_\x8_i\x8in\x8ns\x8si\x8id\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* | 95 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 i\x8is\x8s_\x8_i\x8in\x8ns\x8si\x8id\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* |
100 | _\x8b_\x8o_\x8o_\x8l·siscone::hash_cones::is_inside·(·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·c\x8ce\x8en\x8nt\x8tr\x8re\x8e, | 96 | _\x8b_\x8o_\x8o_\x8l·siscone::hash_cones::is_inside·(·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·c\x8ce\x8en\x8nt\x8tr\x8re\x8e, |
101 | ······································_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·v\x8v ······inline | 97 | ······································_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·* ·v\x8v ······inline |
102 | ····································) | 98 | ····································) |
103 | test·if·a·particle·is·inside·a·cone·of·given·centre. | 99 | test·if·a·particle·is·inside·a·cone·of·given·centre. |
104 | check·if·the·particle·of·coordinates·'v'·is·inside·the·circle·of·radius·R | 100 | check·if·the·particle·of·coordinates·'v'·is·inside·the·circle·of·radius·R |
105 | centered·at·'centre'. | 101 | centered·at·'centre'. |
Offset 102, 16 lines modified | Offset 102, 14 lines modified | ||
102 | ······</table> | 102 | ······</table> |
103 | </div><div·class="memdoc"> | 103 | </div><div·class="memdoc"> |
104 | <p>centre:·eta·coordinate·</p> | 104 | <p>centre:·eta·coordinate·</p> |
105 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00048">48</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> | 105 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00048">48</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> |
106 | <p·class="reference">Referenced·by·<a·class="el"·href="hash_8cpp_source.html#l00171">siscone::hash_cones::insert()</a>,·and·<a·class="el"·href="hash_8cpp_source.html#l00102">siscone::hash_cones::insert()</a>.</p> | ||
107 | </div> | 106 | </div> |
108 | </div> | 107 | </div> |
109 | <a·id="a2675645feacbbd18ae84eac27a8bdad1"·name="a2675645feacbbd18ae84eac27a8bdad1"></a> | 108 | <a·id="a2675645feacbbd18ae84eac27a8bdad1"·name="a2675645feacbbd18ae84eac27a8bdad1"></a> |
110 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2675645feacbbd18ae84eac27a8bdad1">◆ </a></span>is_stable</h2> | 109 | <h2·class="memtitle"><span·class="permalink"><a·href="#a2675645feacbbd18ae84eac27a8bdad1">◆ </a></span>is_stable</h2> |
111 | <div·class="memitem"> | 110 | <div·class="memitem"> |
112 | <div·class="memproto"> | 111 | <div·class="memproto"> |
Offset 122, 16 lines modified | Offset 120, 14 lines modified | ||
122 | ······</table> | 120 | ······</table> |
123 | </div><div·class="memdoc"> | 121 | </div><div·class="memdoc"> |
124 | <p>true·if·stable·w.r.t.·"border·particles"·</p> | 122 | <p>true·if·stable·w.r.t.·"border·particles"·</p> |
125 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00050">50</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> | 123 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00050">50</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> |
126 | <p·class="reference">Referenced·by·<a·class="el"·href="hash_8cpp_source.html#l00171">siscone::hash_cones::insert()</a>,·and·<a·class="el"·href="hash_8cpp_source.html#l00102">siscone::hash_cones::insert()</a>.</p> | ||
127 | </div> | 124 | </div> |
128 | </div> | 125 | </div> |
129 | <a·id="a0d05b94d0fcd9360c322d977e5a09733"·name="a0d05b94d0fcd9360c322d977e5a09733"></a> | 126 | <a·id="a0d05b94d0fcd9360c322d977e5a09733"·name="a0d05b94d0fcd9360c322d977e5a09733"></a> |
130 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0d05b94d0fcd9360c322d977e5a09733">◆ </a></span>next</h2> | 127 | <h2·class="memtitle"><span·class="permalink"><a·href="#a0d05b94d0fcd9360c322d977e5a09733">◆ </a></span>next</h2> |
131 | <div·class="memitem"> | 128 | <div·class="memitem"> |
132 | <div·class="memproto"> | 129 | <div·class="memproto"> |
Offset 142, 15 lines modified | Offset 138, 15 lines modified | ||
142 | ······</table> | 138 | ······</table> |
143 | </div><div·class="memdoc"> | 139 | </div><div·class="memdoc"> |
144 | <p>pointer·to·the·next·element·</p> | 140 | <p>pointer·to·the·next·element·</p> |
145 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00052">52</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> | 141 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00052">52</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> |
146 | <p·class="reference">Referenced·by·<a·class="el"·href="hash_8cpp_source.html#l00 | 142 | <p·class="reference">Referenced·by·<a·class="el"·href="hash_8cpp_source.html#l00077">siscone::hash_cones::~hash_cones()</a>.</p> |
147 | </div> | 143 | </div> |
148 | </div> | 144 | </div> |
149 | <a·id="ae2a2e529c24419f82eeca3c75f5b4ae5"·name="ae2a2e529c24419f82eeca3c75f5b4ae5"></a> | 145 | <a·id="ae2a2e529c24419f82eeca3c75f5b4ae5"·name="ae2a2e529c24419f82eeca3c75f5b4ae5"></a> |
150 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae2a2e529c24419f82eeca3c75f5b4ae5">◆ </a></span>phi</h2> | 146 | <h2·class="memtitle"><span·class="permalink"><a·href="#ae2a2e529c24419f82eeca3c75f5b4ae5">◆ </a></span>phi</h2> |
151 | <div·class="memitem"> | 147 | <div·class="memitem"> |
Offset 162, 16 lines modified | Offset 158, 14 lines modified | ||
162 | ······</table> | 158 | ······</table> |
163 | </div><div·class="memdoc"> | 159 | </div><div·class="memdoc"> |
164 | <p>centre:·phi·coordinate·</p> | 160 | <p>centre:·phi·coordinate·</p> |
165 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00049">49</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> | 161 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00049">49</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> |
166 | <p·class="reference">Referenced·by·<a·class="el"·href="hash_8cpp_source.html#l00171">siscone::hash_cones::insert()</a>,·and·<a·class="el"·href="hash_8cpp_source.html#l00102">siscone::hash_cones::insert()</a>.</p> | ||
167 | </div> | 162 | </div> |
168 | </div> | 163 | </div> |
169 | <a·id="adab496cf408ecae708ac221b68fd3559"·name="adab496cf408ecae708ac221b68fd3559"></a> | 164 | <a·id="adab496cf408ecae708ac221b68fd3559"·name="adab496cf408ecae708ac221b68fd3559"></a> |
170 | <h2·class="memtitle"><span·class="permalink"><a·href="#adab496cf408ecae708ac221b68fd3559">◆ </a></span>ref</h2> | 165 | <h2·class="memtitle"><span·class="permalink"><a·href="#adab496cf408ecae708ac221b68fd3559">◆ </a></span>ref</h2> |
171 | <div·class="memitem"> | 166 | <div·class="memitem"> |
172 | <div·class="memproto"> | 167 | <div·class="memproto"> |
Offset 182, 16 lines modified | Offset 176, 14 lines modified | ||
182 | ······</table> | 176 | ······</table> |
183 | </div><div·class="memdoc"> | 177 | </div><div·class="memdoc"> |
184 | <p>reference·</p> | 178 | <p>reference·</p> |
185 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00047">47</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> | 179 | <p·class="definition">Definition·at·line·<a·class="el"·href="hash_8h_source.html#l00047">47</a>·of·file·<a·class="el"·href="hash_8h_source.html">hash.h</a>.</p> |
186 | <p·class="reference">Referenced·by·<a·class="el"·href="hash_8cpp_source.html#l00171">siscone::hash_cones::insert()</a>,·and·<a·class="el"·href="hash_8cpp_source.html#l00102">siscone::hash_cones::insert()</a>.</p> | ||
187 | </div> | 180 | </div> |
188 | </div> | 181 | </div> |
189 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> | 182 | <hr/>The·documentation·for·this·class·was·generated·from·the·following·file:<ul> |
190 | <li>siscone/<a·class="el"·href="hash_8h_source.html">hash.h</a></li> | 183 | <li>siscone/<a·class="el"·href="hash_8h_source.html">hash.h</a></li> |
191 | </ul> | 184 | </ul> |
192 | </div><!--·contents·--> | 185 | </div><!--·contents·--> |
193 | <!--·start·footer·part·--> | 186 | <!--·start·footer·part·--> |
Offset 31, 34 lines modified | Offset 31, 29 lines modified | ||
31 | stbility·with·the·parent-child·particles·(border·particles). | 31 | stbility·with·the·parent-child·particles·(border·particles). |
32 | Definition·at·line·_\x84_\x85·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. | 32 | Definition·at·line·_\x84_\x85·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. |
33 | *\x8**\x8**\x8**\x8**\x8*·M\x8Me\x8em\x8mb\x8be\x8er\x8r·D\x8Da\x8at\x8ta\x8a·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* | 33 | *\x8**\x8**\x8**\x8**\x8*·M\x8Me\x8em\x8mb\x8be\x8er\x8r·D\x8Da\x8at\x8ta\x8a·D\x8Do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8* |
34 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 e\x8et\x8ta\x8a·*\x8**\x8**\x8**\x8**\x8* | 34 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 e\x8et\x8ta\x8a·*\x8**\x8**\x8**\x8**\x8* |
35 | _\x8d_\x8o_\x8u_\x8b_\x8l_\x8e·siscone::hash_element::eta | 35 | _\x8d_\x8o_\x8u_\x8b_\x8l_\x8e·siscone::hash_element::eta |
36 | centre:·eta·coordinate | 36 | centre:·eta·coordinate |
37 | Definition·at·line·_\x84_\x88·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. | 37 | Definition·at·line·_\x84_\x88·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. |
38 | Referenced·by·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8),·and·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8). | ||
39 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 i\x8is\x8s_\x8_s\x8st\x8ta\x8ab\x8bl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8* | 38 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 i\x8is\x8s_\x8_s\x8st\x8ta\x8ab\x8bl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8* |
40 | _\x8b_\x8o_\x8o_\x8l·siscone::hash_element::is_stable | 39 | _\x8b_\x8o_\x8o_\x8l·siscone::hash_element::is_stable |
41 | true·if·stable·w.r.t.·"border·particles" | 40 | true·if·stable·w.r.t.·"border·particles" |
42 | Definition·at·line·_\x85_\x80·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. | 41 | Definition·at·line·_\x85_\x80·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. |
43 | Referenced·by·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8),·and·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8). | ||
44 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 n\x8ne\x8ex\x8xt\x8t·*\x8**\x8**\x8**\x8**\x8* | 42 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 n\x8ne\x8ex\x8xt\x8t·*\x8**\x8**\x8**\x8**\x8* |
45 | _\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t*·siscone::hash_element::next | 43 | _\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t*·siscone::hash_element::next |
46 | pointer·to·the·next·element | 44 | pointer·to·the·next·element |
47 | Definition·at·line·_\x85_\x82·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. | 45 | Definition·at·line·_\x85_\x82·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. |
48 | Referenced·by·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8),·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8),·and | ||
49 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8~_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8(_\x8). | 46 | Referenced·by·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8~_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8(_\x8). |
50 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 p\x8ph\x8hi\x8i·*\x8**\x8**\x8**\x8**\x8* | 47 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 p\x8ph\x8hi\x8i·*\x8**\x8**\x8**\x8**\x8* |
51 | _\x8d_\x8o_\x8u_\x8b_\x8l_\x8e·siscone::hash_element::phi | 48 | _\x8d_\x8o_\x8u_\x8b_\x8l_\x8e·siscone::hash_element::phi |
52 | centre:·phi·coordinate | 49 | centre:·phi·coordinate |
53 | Definition·at·line·_\x84_\x89·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. | 50 | Definition·at·line·_\x84_\x89·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. |
54 | Referenced·by·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8),·and·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8). | ||
55 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 r\x8re\x8ef\x8f·*\x8**\x8**\x8**\x8**\x8* | 51 | *\x8**\x8**\x8**\x8**\x8*·_\x8?\x8◆_\x8?\x8 r\x8re\x8ef\x8f·*\x8**\x8**\x8**\x8**\x8* |
56 | _\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·siscone::hash_element::ref | 52 | _\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·siscone::hash_element::ref |
57 | reference | 53 | reference |
58 | Definition·at·line·_\x84_\x87·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. | 54 | Definition·at·line·_\x84_\x87·of·file·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h. |
59 | Referenced·by·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8),·and·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t_\x8(_\x8). | ||
60 | =============================================================================== | 55 | =============================================================================== |
61 | The·documentation·for·this·class·was·generated·from·the·following·file: | 56 | The·documentation·for·this·class·was·generated·from·the·following·file: |
62 | ····*·siscone/_\x8h_\x8a_\x8s_\x8h_\x8._\x8h | 57 | ····*·siscone/_\x8h_\x8a_\x8s_\x8h_\x8._\x8h |
63 | =============================================================================== | 58 | =============================================================================== |
64 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 59 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 111, 55 lines modified | Offset 111, 55 lines modified | ||
111 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·ctor·with·initialisation</span></div> | 111 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//·ctor·with·initialisation</span></div> |
112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·we·initialise·with·a·centre·(in·eta,phi)·and·a·radius</span></div> | 112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//·we·initialise·with·a·centre·(in·eta,phi)·and·a·radius</span></div> |
113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//··-·c_eta···eta·coordinate·of·the·centre</span></div> | 113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span><span·class="comment">//··-·c_eta···eta·coordinate·of·the·centre</span></div> |
114 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··-·c_phi···phi·coordinate·of·the·centre</span></div> | 114 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span><span·class="comment">//··-·c_phi···phi·coordinate·of·the·centre</span></div> |
115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··-·R·······radius</span></div> | 115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//··-·R·······radius</span></div> |
116 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//-------------------------------------------------------</span></div> | 116 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//-------------------------------------------------------</span></div> |
117 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> | 117 | <div·class="foldopen"·id="foldopen00063"·data-start="{"·data-end="}"> |
118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#ab9d2472b886a5d183442809d44d2cb5e">···63</a></span><a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#adbf5cbebd39bd43b64af1703edc5854e">Ceta_phi_range::Ceta_phi_range</a>(<span·class="keywordtype">double</span>·c_eta,·<span·class="keywordtype">double</span>·c_phi,·<span·class="keywordtype">double</span>·R){</div> | 118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#ab9d2472b886a5d183442809d44d2cb5e">···63</a></span><a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#adbf5cbebd39bd43b64af1703edc5854e">Ceta_phi_range::Ceta_phi_range</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_eta</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_phi</a>,·<span·class="keywordtype">double</span>·R){</div> |
119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="comment">//·determination·of·the·eta·range</span></div> | 119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="comment">//·determination·of·the·eta·range</span></div> |
120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//-------------------------------</span></div> | 120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//-------------------------------</span></div> |
121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">double</span>·xmin·=·max(c_eta-R,<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">eta_min</a>+0.0001);</div> | ||
122 | <div·class="line"><a·id="l0006 | 121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmin</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">max</a>(<a·class="cod[·...·truncated·by·diffoscope;·len:·182,·SHA:·5d6ad66d1a62b532f446f4a366ce3bbd0b02cb5c0d80058099c06a7cefea62f9·...·]0.0001);</div> |
122 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmax</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">min</a>(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_eta</a>+R,<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">eta_max</a>-0.0001);</div> | ||
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·cell_min·=·get_eta_cell(xmin);</div> | ||
125 | <div·class="line"><a·id="l000 | 124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_min</a>·=·get_eta_cell(<a·class="code·hl_class"·hre[·...·truncated·by·diffoscope;·len:·44,·SHA:·2c3e60b307bc4d175a050862dc9f616e62ece32b5f230d389ae184c7b6fd96fb·...·]);</div> |
125 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>·=·get_eta_cell(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmax</a>);</div> | ||
126 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 126 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
127 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="comment">//·warning:·if·cell_max==2^31,·2*cell_max==0·hence,·</span></div> | 127 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<span·class="comment">//·warning:·if·cell_max==2^31,·2*cell_max==0·hence,·</span></div> |
128 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="comment">//·even·if·the·next·formula·is·formally·(2*cell_max-cell_min),</span></div> | 128 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>··<span·class="comment">//·even·if·the·next·formula·is·formally·(2*cell_max-cell_min),</span></div> |
129 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="comment">//·expressing·it·as·(cell_max-cell_min)+cell_max·is·safe.</span></div> | 129 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··<span·class="comment">//·expressing·it·as·(cell_max-cell_min)+cell_max·is·safe.</span></div> |
130 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">eta_range</a>·=·(cell_max-cell_min)+cell_max;</div> | 130 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">eta_range</a>·=·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>-<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_min</a>)+<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>;</div> |
131 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> | 131 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>·</div> |
132 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="comment">//·determination·of·the·phi·range</span></div> | 132 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··<span·class="comment">//·determination·of·the·phi·range</span></div> |
133 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="comment">//·!!·taking·care·of·periodicity·!!</span></div> | 133 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="comment">//·!!·taking·care·of·periodicity·!!</span></div> |
134 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="comment">//---------------------------------</span></div> | 134 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<span·class="comment">//---------------------------------</span></div> |
135 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··xmin·=·phi_in_range(c_phi-R);</div> | ||
136 | <div·class="line"><a·id="l0008 | 135 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>··<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmin</a>·=·phi_in_range(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_phi</a>-R);</div> |
136 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmax</a>·=·phi_in_range(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_phi</a>+R);</div> | ||
137 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 137 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
138 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··cell_min·=·get_phi_cell(xmin);</div> | ||
139 | <div·class="line"><a·id="l0008 | 138 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>··<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_min</a>·=·get_phi_cell(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmin</a>);</div> |
139 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>··<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>·=·get_phi_cell(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmax</a>);</div> | ||
140 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | 140 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
141 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="comment">//·Also,·if·the·interval·goes·through·pi,·inversion·is·needed</span></div> | 141 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>··<span·class="comment">//·Also,·if·the·interval·goes·through·pi,·inversion·is·needed</span></div> |
142 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keywordflow">if</span>·(xmax>xmin)</div> | ||
143 | <div·class="line"><a·id="l0008 | 142 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmax</a>><a·class="code·hl_class"·href="classsiscone_1_1circulator.html">xmin</a>)</div> |
143 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">phi_range</a>·=·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>-<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_min</a>)+<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>;</div> | ||
144 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keywordflow">else</span>·{</div> | 144 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keywordflow">else</span>·{</div> |
145 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">phi_range</a>·=·(cell_min==cell_max)·</div> | 145 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">phi_range</a>·=·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_min</a>==<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>)·</div> |
146 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······?·PHI_RANGE_MASK</div> | 146 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>······?·PHI_RANGE_MASK</div> |
147 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······:·((PHI_RANGE_MASK^(cell_min-cell_max))·+·cell_max);</div> | 147 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>······:·((PHI_RANGE_MASK^(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_min</a>-<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>))·+·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cell_max</a>);</div> |
148 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div> | 148 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··}</div> |
149 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>}</div> | 149 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>}</div> |
150 | </div> | 150 | </div> |
151 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | 151 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
152 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//·assignment·of·range</span></div> | 152 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//·assignment·of·range</span></div> |
153 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">//··-·r···range·to·assign·to·current·one</span></div> | 153 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">//··-·r···range·to·assign·to·current·one</span></div> |
154 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">//---------------------------------------</span></div> | 154 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">//---------------------------------------</span></div> |
155 | <div·class="foldopen"·id="foldopen00099"·data-start="{"·data-end="}"> | 155 | <div·class="foldopen"·id="foldopen00099"·data-start="{"·data-end="}"> |
156 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#aa1174dd81d42192271d6880cfdafff4f">···99</a></span><a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#aa1174dd81d42192271d6880cfdafff4f">Ceta_phi_range::operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>·&r){</div> | 156 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#aa1174dd81d42192271d6880cfdafff4f">···99</a></span><a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#aa1174dd81d42192271d6880cfdafff4f">Ceta_phi_range::operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>){</div> |
157 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">eta_range</a>·=·r.<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">eta_range</a>;</div> | ||
158 | <div·class="line"><a·id="l0010 | 157 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">eta_range</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.eta_ran[·...·truncated·by·diffoscope;·len:·2,·SHA:·309d20864f274b097f64106ec08fde76b42486d4e2f7165c7a9a233533dd8fc3·...·];</div> |
158 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">phi_range</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.phi_range;</div> | ||
159 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | 159 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> |
160 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | 160 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> |
161 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>}</div> | 161 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>}</div> |
162 | </div> | 162 | </div> |
163 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | 163 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> |
164 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment">//·add·a·particle·to·the·range</span></div> | 164 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment">//·add·a·particle·to·the·range</span></div> |
165 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="comment">//··-·eta··eta·coordinate·of·the·particle</span></div> | 165 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="comment">//··-·eta··eta·coordinate·of·the·particle</span></div> |
Offset 180, 30 lines modified | Offset 180, 30 lines modified | ||
180 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | 180 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> |
181 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> | 181 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> |
182 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="comment">//·test·overlap</span></div> | 182 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="comment">//·test·overlap</span></div> |
183 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="comment">//··-·r1··first·range</span></div> | 183 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span><span·class="comment">//··-·r1··first·range</span></div> |
184 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="comment">//··-·r2··second·range</span></div> | 184 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="comment">//··-·r2··second·range</span></div> |
185 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">//·return·true·if·overlap,·false·otherwise.</span></div> | 185 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span><span·class="comment">//·return·true·if·overlap,·false·otherwise.</span></div> |
186 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="comment">//------------------------------------------</span></div> | 186 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span><span·class="comment">//------------------------------------------</span></div> |
187 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keywordtype">bool</span>·is_range_overlap(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>·&r1,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>·&r2){</div> | 187 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keywordtype">bool</span>·is_range_overlap(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r1</a>,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulat[·...·truncated·by·diffoscope;·len:·15,·SHA:·1d14992a6064a8901a81e0e81c867870d7f2dca543da284a34098a26ddf9baf6·...·]){</div> |
188 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··<span·class="comment">//·check·overlap·in·eta·AND·phi</span></div> | 188 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>··<span·class="comment">//·check·overlap·in·eta·AND·phi</span></div> |
189 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··<span·class="keywordflow">return</span>·(( | 189 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··<span·class="keywordflow">return</span>·((<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r1</a>.eta_range·&·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r2</a>.eta_range)·&&·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r1</a>.phi_[·...·truncated·by·diffoscope;·len:·92,·SHA:·59a1fbf6b0891dd88f2b53091af32af38f85968f08c5378fed2bef09f7c915e0·...·]));</div> |
190 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>}</div> | 190 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>}</div> |
191 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> | 191 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> |
192 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span><span·class="comment">//·compute·union</span></div> | 192 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span><span·class="comment">//·compute·union</span></div> |
193 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span><span·class="comment">//·Note:·we·assume·that·the·two·intervals·overlap</span></div> | 193 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span><span·class="comment">//·Note:·we·assume·that·the·two·intervals·overlap</span></div> |
194 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="comment">//··-·r1··first·range</span></div> | 194 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span><span·class="comment">//··-·r1··first·range</span></div> |
195 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="comment">//··-·r2··second·range</span></div> | 195 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span><span·class="comment">//··-·r2··second·range</span></div> |
196 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span><span·class="comment">//·\return·union·of·the·two·ranges</span></div> | 196 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span><span·class="comment">//·\return·union·of·the·two·ranges</span></div> |
197 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="comment">//------------------------------------------</span></div> | 197 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="comment">//------------------------------------------</span></div> |
198 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span><span·class="keyword">const</span>·Ceta_phi_range·range_union·(<span·class="keyword">const</span>·Ceta_phi_range·&r1,·<span·class="keyword">const</span>·Ceta_phi_range·&r2){</div> | 198 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span><span·class="keyword">const</span>·Ceta_phi_range·range_union·(<span·class="keyword">const</span>·Ceta_phi_range·&r1,·<span·class="keyword">const</span>·Ceta_phi_range·&r2){</div> |
199 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··Ceta_phi_range·tmp;</div> | 199 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>··Ceta_phi_range·tmp;</div> |
200 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> | 200 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> |
201 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··<span·class="comment">//·compute·union·in·eta</span></div> | 201 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>··<span·class="comment">//·compute·union·in·eta</span></div> |
202 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··tmp. | 202 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>··tmp.eta_range·=·r1.eta_range·|·r2.eta_range;</div> |
203 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> | 203 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>·</div> |
204 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··<span·class="comment">//·compute·union·in·phi</span></div> | 204 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>··<span·class="comment">//·compute·union·in·phi</span></div> |
205 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··tmp.phi_range·=·r1.phi_range·|·r2.phi_range;</div> | 205 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··tmp.phi_range·=·r1.phi_range·|·r2.phi_range;</div> |
206 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> | 206 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> |
207 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··<span·class="keywordflow">return</span>·tmp;</div> | 207 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··<span·class="keywordflow">return</span>·tmp;</div> |
208 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>}</div> | 208 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>}</div> |
209 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> | 209 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>·</div> |
Offset 212, 14 lines modified | Offset 212, 15 lines modified | ||
212 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_a0b945ebbe0fd2e8bd043fee02ab7bcb3"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">siscone::Ceta_phi_range::eta_range</a></div><div·class="ttdeci">unsigned·int·eta_range</div><div·class="ttdoc">eta·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00143">geom_2d.h:143</a></div></div> | 212 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_a0b945ebbe0fd2e8bd043fee02ab7bcb3"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">siscone::Ceta_phi_range::eta_range</a></div><div·class="ttdeci">unsigned·int·eta_range</div><div·class="ttdoc">eta·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00143">geom_2d.h:143</a></div></div> |
213 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_a67ccb1d3c4fab1489abb175e360f2c86"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">siscone::Ceta_phi_range::eta_max</a></div><div·class="ttdeci">static·double·eta_max</div><div·class="ttdoc">maximal·value·for·eta</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00150">geom_2d.h:150</a></div></div> | 213 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_a67ccb1d3c4fab1489abb175e360f2c86"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">siscone::Ceta_phi_range::eta_max</a></div><div·class="ttdeci">static·double·eta_max</div><div·class="ttdoc">maximal·value·for·eta</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00150">geom_2d.h:150</a></div></div> |
214 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_a90a689538d155ec7a6c2fe79bb240f64"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#a90a689538d155ec7a6c2fe79bb240f64">siscone::Ceta_phi_range::add_particle</a></div><div·class="ttdeci">int·add_particle(const·double·eta,·const·double·phi)</div><div·class="ttdoc">add·a·particle·to·the·range</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8cpp_source.html#l00111">geom_2d.cpp:111</a></div></div> | 214 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_a90a689538d155ec7a6c2fe79bb240f64"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#a90a689538d155ec7a6c2fe79bb240f64">siscone::Ceta_phi_range::add_particle</a></div><div·class="ttdeci">int·add_particle(const·double·eta,·const·double·phi)</div><div·class="ttdoc">add·a·particle·to·the·range</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8cpp_source.html#l00111">geom_2d.cpp:111</a></div></div> |
215 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_a91ade04c3634644750ac91767567700b"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">siscone::Ceta_phi_range::eta_min</a></div><div·class="ttdeci">static·double·eta_min</div><div·class="ttdoc">minimal·value·for·eta</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00149">geom_2d.h:149</a></div></div> | 215 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_a91ade04c3634644750ac91767567700b"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">siscone::Ceta_phi_range::eta_min</a></div><div·class="ttdeci">static·double·eta_min</div><div·class="ttdoc">minimal·value·for·eta</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00149">geom_2d.h:149</a></div></div> |
216 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_aa1174dd81d42192271d6880cfdafff4f"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#aa1174dd81d42192271d6880cfdafff4f">siscone::Ceta_phi_range::operator=</a></div><div·class="ttdeci">Ceta_phi_range·&·operator=(const·Ceta_phi_range·&r)</div><div·class="ttdoc">assignment·of·range</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8cpp_source.html#l00099">geom_2d.cpp:99</a></div></div> | 216 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_aa1174dd81d42192271d6880cfdafff4f"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#aa1174dd81d42192271d6880cfdafff4f">siscone::Ceta_phi_range::operator=</a></div><div·class="ttdeci">Ceta_phi_range·&·operator=(const·Ceta_phi_range·&r)</div><div·class="ttdoc">assignment·of·range</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8cpp_source.html#l00099">geom_2d.cpp:99</a></div></div> |
217 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_adbf5cbebd39bd43b64af1703edc5854e"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#adbf5cbebd39bd43b64af1703edc5854e">siscone::Ceta_phi_range::Ceta_phi_range</a></div><div·class="ttdeci">Ceta_phi_range()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8cpp_source.html#l00052">geom_2d.cpp:52</a></div></div> | 217 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_adbf5cbebd39bd43b64af1703edc5854e"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#adbf5cbebd39bd43b64af1703edc5854e">siscone::Ceta_phi_range::Ceta_phi_range</a></div><div·class="ttdeci">Ceta_phi_range()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8cpp_source.html#l00052">geom_2d.cpp:52</a></div></div> |
218 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_aeee6f7554e13e52b27c133c163b9e2da"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">siscone::Ceta_phi_range::phi_range</a></div><div·class="ttdeci">unsigned·int·phi_range</div><div·class="ttdoc">phi·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00146">geom_2d.h:146</a></div></div> | 218 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_aeee6f7554e13e52b27c133c163b9e2da"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">siscone::Ceta_phi_range::phi_range</a></div><div·class="ttdeci">unsigned·int·phi_range</div><div·class="ttdoc">phi·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00146">geom_2d.h:146</a></div></div> |
219 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
219 | </div><!--·fragment·--></div><!--·contents·--> | 220 | </div><!--·fragment·--></div><!--·contents·--> |
220 | <!--·start·footer·part·--> | 221 | <!--·start·footer·part·--> |
221 | <hr·class="footer"/><address·class="footer"><small> | 222 | <hr·class="footer"/><address·class="footer"><small> |
222 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 223 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
223 | </small></address> | 224 | </small></address> |
224 | </body> | 225 | </body> |
225 | </html> | 226 | </html> |
Offset 59, 53 lines modified | Offset 59, 53 lines modified | ||
59 | 56 | 59 | 56 |
60 | 57//·ctor·with·initialisation | 60 | 57//·ctor·with·initialisation |
61 | 58//·we·initialise·with·a·centre·(in·eta,phi)·and·a·radius | 61 | 58//·we·initialise·with·a·centre·(in·eta,phi)·and·a·radius |
62 | 59//·-·c_eta·eta·coordinate·of·the·centre | 62 | 59//·-·c_eta·eta·coordinate·of·the·centre |
63 | 60//·-·c_phi·phi·coordinate·of·the·centre | 63 | 60//·-·c_phi·phi·coordinate·of·the·centre |
64 | 61//·-·R·radius | 64 | 61//·-·R·radius |
65 | 62//------------------------------------------------------- | 65 | 62//------------------------------------------------------- |
66 | _\x86_\x83_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e(double·c_eta,·double·c_phi,·double·R){ | 66 | _\x86_\x83_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e(double·_.c_.__.e_.t_.a,·double·_.c_.__.p_.h_.i,·double·R){ |
67 | 64·//·determination·of·the·eta·range | 67 | 64·//·determination·of·the·eta·range |
68 | 65·//------------------------------- | 68 | 65·//------------------------------- |
69 | 66·double·xmin·=·max(c_eta-R,_\x8e_\x8t_\x8a_\x8__\x8m_\x8i_\x8n+0.0001); | 69 | 66·double·_.x_.m_.i_.n·=·_.m_.a_.x(_.c_.__.e_.t_.a-R,_\x8e_\x8t_\x8a_\x8__\x8m_\x8i_\x8n+0.0001); |
70 | 67·double·xmax·=·min(c_eta+R,_\x8e_\x8t_\x8a_\x8__\x8m_\x8a_\x8x-0.0001); | 70 | 67·double·_.x_.m_.a_.x·=·_.m_.i_.n(_.c_.__.e_.t_.a+R,_\x8e_\x8t_\x8a_\x8__\x8m_\x8a_\x8x-0.0001); |
71 | 68 | 71 | 68 |
72 | 69·unsigned·int·cell_min·=·get_eta_cell(xmin); | 72 | 69·unsigned·int·_.c_.e_.l_.l_.__.m_.i_.n·=·get_eta_cell(_.x_.m_.i_.n); |
73 | 70·unsigned·int·cell_max·=·get_eta_cell(xmax); | 73 | 70·unsigned·int·_.c_.e_.l_.l_.__.m_.a_.x·=·get_eta_cell(_.x_.m_.a_.x); |
74 | 71 | 74 | 71 |
75 | 72·//·warning:·if·cell_max==2^31,·2*cell_max==0·hence, | 75 | 72·//·warning:·if·cell_max==2^31,·2*cell_max==0·hence, |
76 | 73·//·even·if·the·next·formula·is·formally·(2*cell_max-cell_min), | 76 | 73·//·even·if·the·next·formula·is·formally·(2*cell_max-cell_min), |
77 | 74·//·expressing·it·as·(cell_max-cell_min)+cell_max·is·safe. | 77 | 74·//·expressing·it·as·(cell_max-cell_min)+cell_max·is·safe. |
78 | 75·_\x8e_\x8t_\x8a_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=·(cell_max-cell_min)+cell_max; | 78 | 75·_\x8e_\x8t_\x8a_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=·(_.c_.e_.l_.l_.__.m_.a_.x-_.c_.e_.l_.l_.__.m_.i_.n)+_.c_.e_.l_.l_.__.m_.a_.x; |
79 | 76 | 79 | 76 |
80 | 77·//·determination·of·the·phi·range | 80 | 77·//·determination·of·the·phi·range |
81 | 78·//·!!·taking·care·of·periodicity·!! | 81 | 78·//·!!·taking·care·of·periodicity·!! |
82 | 79·//--------------------------------- | 82 | 79·//--------------------------------- |
83 | 80·xmin·=·phi_in_range(c_phi-R); | 83 | 80·_.x_.m_.i_.n·=·phi_in_range(_.c_.__.p_.h_.i-R); |
84 | 81·xmax·=·phi_in_range(c_phi+R); | 84 | 81·_.x_.m_.a_.x·=·phi_in_range(_.c_.__.p_.h_.i+R); |
85 | 82 | 85 | 82 |
86 | 83·cell_min·=·get_phi_cell(xmin); | ||
87 | 8 | 86 | 83·_.c_.e_.l_.l_.__.m_.i_.n·=·get_phi_cell(_.x_.m_.i_.n); |
87 | 84·_\x8c_\x8e_\x8l_\x8l_\x8__\x8m_\x8a_\x8x·=·get_phi_cell(_\x8x_\x8m_\x8a_\x8x); | ||
88 | 85 | 88 | 85 |
89 | 86·//·Also,·if·the·interval·goes·through·pi,·inversion·is·needed | 89 | 86·//·Also,·if·the·interval·goes·through·pi,·inversion·is·needed |
90 | 87·if·(xmax>xmin) | ||
91 | 8 | 90 | 87·if·(_.x_.m_.a_.x>_.x_.m_.i_.n) |
91 | 88·_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=·(_\x8c_\x8e_\x8l_\x8l_\x8__\x8m_\x8a_\x8x-_\x8c_\x8e_\x8l_\x8l_\x8__\x8m_\x8i_\x8n)+_\x8c_\x8e_\x8l_\x8l_\x8__\x8m_\x8a_\x8x; | ||
92 | 89·else·{ | 92 | 89·else·{ |
93 | 90·_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=·(cell_min==cell_max) | 93 | 90·_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=·(_.c_.e_.l_.l_.__.m_.i_.n==_.c_.e_.l_.l_.__.m_.a_.x) |
94 | 91·?·PHI_RANGE_MASK | 94 | 91·?·PHI_RANGE_MASK |
95 | 92·:·((PHI_RANGE_MASK^(cell_min-cell_max))·+·cell_max); | 95 | 92·:·((PHI_RANGE_MASK^(_.c_.e_.l_.l_.__.m_.i_.n-_.c_.e_.l_.l_.__.m_.a_.x))·+·_.c_.e_.l_.l_.__.m_.a_.x); |
96 | 93·} | 96 | 93·} |
97 | 94} | 97 | 94} |
98 | 95 | 98 | 95 |
99 | 96//·assignment·of·range | 99 | 96//·assignment·of·range |
100 | 97//·-·r·range·to·assign·to·current·one | 100 | 97//·-·r·range·to·assign·to·current·one |
101 | 98//--------------------------------------- | 101 | 98//--------------------------------------- |
102 | _\x89_\x89_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e&·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·&r){ | 102 | _\x89_\x89_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e&·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·&_.r){ |
103 | 100·_\x8e_\x8t_\x8a_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=· | 103 | 100·_\x8e_\x8t_\x8a_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=·_.r.eta_range; |
104 | 101·_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=· | 104 | 101·_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·=·_.r.phi_range; |
105 | 102 | 105 | 102 |
106 | 103·return·*this; | 106 | 103·return·*this; |
107 | 104} | 107 | 104} |
108 | 105 | 108 | 105 |
109 | 106//·add·a·particle·to·the·range | 109 | 106//·add·a·particle·to·the·range |
110 | 107//·-·eta·eta·coordinate·of·the·particle | 110 | 107//·-·eta·eta·coordinate·of·the·particle |
111 | 108//·-·phi·phi·coordinate·of·the·particle | 111 | 108//·-·phi·phi·coordinate·of·the·particle |
Offset 123, 31 lines modified | Offset 123, 31 lines modified | ||
123 | 120 | 123 | 120 |
124 | 121 | 124 | 121 |
125 | 122//·test·overlap | 125 | 122//·test·overlap |
126 | 123//·-·r1·first·range | 126 | 123//·-·r1·first·range |
127 | 124//·-·r2·second·range | 127 | 124//·-·r2·second·range |
128 | 125//·return·true·if·overlap,·false·otherwise. | 128 | 125//·return·true·if·overlap,·false·otherwise. |
129 | 126//------------------------------------------ | 129 | 126//------------------------------------------ |
130 | 127bool·is_range_overlap(const·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·&r1,·const·_.C_.e_.t_.a_.__.p_.h_.i_.__.r_.a_.n_.g_.e·&r2){ | 130 | 127bool·is_range_overlap(const·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·&_.r_.1,·const·_.C_.e_.t_.a_.__.p_.h_.i_.__.r_.a_.n_.g_.e·&_.r_.2){ |
131 | 128·//·check·overlap·in·eta·AND·phi | 131 | 128·//·check·overlap·in·eta·AND·phi |
132 | 129·return·(( | 132 | 129·return·((_.r_.1.eta_range·&·_.r_.2.eta_range)·&&·(_.r_.1.phi_range·&·_.r_.2.phi_range)); |
133 | 130} | 133 | 130} |
134 | 131 | 134 | 131 |
135 | 132//·compute·union | 135 | 132//·compute·union |
136 | 133//·Note:·we·assume·that·the·two·intervals·overlap | 136 | 133//·Note:·we·assume·that·the·two·intervals·overlap |
137 | 134//·-·r1·first·range | 137 | 134//·-·r1·first·range |
138 | 135//·-·r2·second·range | 138 | 135//·-·r2·second·range |
139 | 136//·\return·union·of·the·two·ranges | 139 | 136//·\return·union·of·the·two·ranges |
140 | 137//------------------------------------------ | 140 | 137//------------------------------------------ |
141 | 138const·Ceta_phi_range·range_union·(const·Ceta_phi_range·&r1,·const | 141 | 138const·Ceta_phi_range·range_union·(const·Ceta_phi_range·&r1,·const |
142 | Ceta_phi_range·&r2){ | 142 | Ceta_phi_range·&r2){ |
143 | 139·Ceta_phi_range·tmp; | 143 | 139·Ceta_phi_range·tmp; |
144 | 140 | 144 | 140 |
145 | 141·//·compute·union·in·eta | 145 | 141·//·compute·union·in·eta |
146 | 142·tmp. | 146 | 142·tmp.eta_range·=·r1.eta_range·|·r2.eta_range; |
147 | 143 | 147 | 143 |
148 | 144·//·compute·union·in·phi | 148 | 144·//·compute·union·in·phi |
149 | 145·tmp.phi_range·=·r1.phi_range·|·r2.phi_range; | 149 | 145·tmp.phi_range·=·r1.phi_range·|·r2.phi_range; |
150 | 146 | 150 | 146 |
151 | 147·return·tmp; | 151 | 147·return·tmp; |
152 | 148} | 152 | 148} |
153 | 149 | 153 | 149 |
Offset 179, 9 lines modified | Offset 179, 13 lines modified | ||
179 | Ceta_phi_range() | 179 | Ceta_phi_range() |
180 | default·ctor | 180 | default·ctor |
181 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8c_\x8p_\x8p_\x8:_\x85_\x82 | 181 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8c_\x8p_\x8p_\x8:_\x85_\x82 |
182 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e | 182 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e |
183 | unsigned·int·phi_range | 183 | unsigned·int·phi_range |
184 | phi·range·as·a·binary·coding·of·covered·cells | 184 | phi·range·as·a·binary·coding·of·covered·cells |
185 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x81_\x84_\x86 | 185 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x81_\x84_\x86 |
186 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
187 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
188 | iterator; | ||
189 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
186 | =============================================================================== | 190 | =============================================================================== |
187 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 191 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 109, 21 lines modified | Offset 109, 21 lines modified | ||
109 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> | 109 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>·</div> |
110 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 110 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
111 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="};"> | 111 | <div·class="foldopen"·id="foldopen00073"·data-start="{"·data-end="};"> |
112 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html">···73</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Ctwovect.html">Ctwovect</a>·{</div> | 112 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html">···73</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Ctwovect.html">Ctwovect</a>·{</div> |
113 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div> | 113 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="keyword">public</span>:</div> |
114 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#ac7f552bcda09bb82f8f5460dbb80637e">···76</a></span>··<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#ac7f552bcda09bb82f8f5460dbb80637e">Ctwovect</a>()·:·<a·class="code·hl_variable"·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">x</a>(0.0),·y(0.0)·{}</div> | 114 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#ac7f552bcda09bb82f8f5460dbb80637e">···76</a></span>··<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#ac7f552bcda09bb82f8f5460dbb80637e">Ctwovect</a>()·:·<a·class="code·hl_variable"·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">x</a>(0.0),·y(0.0)·{}</div> |
115 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 115 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
116 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#ae49f7e3ae4e240f5cd06e7de5c3d47fc">···81</a></span>··<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#ae49f7e3ae4e240f5cd06e7de5c3d47fc">Ctwovect</a>(<span·class="keywordtype">double</span>·_x,·<span·class="keywordtype">double</span>·_y)·:·<a·class="code·hl_variable"·href="classsiscone_1_1Ctwovect.html#a5d4f3f | 116 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#ae49f7e3ae4e240f5cd06e7de5c3d47fc">···81</a></span>··<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#ae49f7e3ae4e240f5cd06e7de5c3d47fc">Ctwovect</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_x</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_y</a>)·:·<a·class="code·hl_variable"·href="classsiscone_1_1Ctwovect.html#a5d4f3[·...·truncated·by·diffoscope;·len:·180,·SHA:·5526158642cc7539da2ef4338646cb2be798bafc750dd00de0aecfc37643674e·...·])·{}</div> |
117 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 117 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
118 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">···84</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">x</a>,·y;</div> | 118 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">···84</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">x</a>,·y;</div> |
119 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> | 119 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>·</div> |
120 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#a1b7e947db774a54969b6676e9186e3fc">···87</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#a1b7e947db774a54969b6676e9186e3fc">mod2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·pow2(<a·class="code·hl_variable"·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">x</a>)+pow2(y);}</div> | 120 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#a1b7e947db774a54969b6676e9186e3fc">···87</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#a1b7e947db774a54969b6676e9186e3fc">mod2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·pow2(<a·class="code·hl_variable"·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">x</a>)+pow2(y);}</div> |
121 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | 121 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
122 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#ad4e4e13a6c6aae0f26ef9c03c857b4b6">···90</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#ad4e4e13a6c6aae0f26ef9c03c857b4b6">modulus</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·sqrt(<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#a1b7e947db774a54969b6676e9186e3fc">mod2</a>());}</div> | 122 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ctwovect.html#ad4e4e13a6c6aae0f26ef9c03c857b4b6">···90</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#ad4e4e13a6c6aae0f26ef9c03c857b4b6">modulus</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">sqrt</a>(<a·class="code·hl_function"·href="classsiscone_1_1Ctwovect.html#a1b7e947db774a54969b6676e9186e3fc">mod2</a>());}</div> |
123 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>};</div> | 123 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>};</div> |
124 | </div> | 124 | </div> |
125 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | 125 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
126 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | 126 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
127 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·dot_product(<span·class="keyword">const</span>·Ctwovect·&·a,·<span·class="keyword">const</span>·Ctwovect·&·b)·{</div> | 127 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·dot_product(<span·class="keyword">const</span>·Ctwovect·&·a,·<span·class="keyword">const</span>·Ctwovect·&·b)·{</div> |
128 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keywordflow">return</span>·a.x*b.x·+·a.y*b.y;</div> | 128 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keywordflow">return</span>·a.x*b.x·+·a.y*b.y;</div> |
129 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>}</div> | 129 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>}</div> |
Offset 135, 35 lines modified | Offset 135, 35 lines modified | ||
135 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> | 135 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>·</div> |
136 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | 136 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> |
137 | <div·class="foldopen"·id="foldopen00120"·data-start="{"·data-end="};"> | 137 | <div·class="foldopen"·id="foldopen00120"·data-start="{"·data-end="};"> |
138 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html">··120</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>{</div> | 138 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html">··120</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>{</div> |
139 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">public</span>:</div> | 139 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span><span·class="keyword">public</span>:</div> |
140 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#adbf5cbebd39bd43b64af1703edc5854e">Ceta_phi_range</a>();</div> | 140 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#adbf5cbebd39bd43b64af1703edc5854e">Ceta_phi_range</a>();</div> |
141 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> | 141 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> |
142 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#adbf5cbebd39bd43b64af1703edc5854e">Ceta_phi_range</a>(<span·class="keywordtype">double</span>·c_eta,·<span·class="keywordtype">double</span>·c_phi,·<span·class="keywordtype">double</span>·R);</div> | 142 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>··<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#adbf5cbebd39bd43b64af1703edc5854e">Ceta_phi_range</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_eta</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_phi</a>,·<span·class="keywordtype">double</span>·R);</div> |
143 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> | 143 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> |
144 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#aa1174dd81d42192271d6880cfdafff4f">operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>·&r);</div> | 144 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>··<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#aa1174dd81d42192271d6880cfdafff4f">operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Ceta__phi__range.html">Ceta_phi_range</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>);</div> |
145 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> | 145 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> |
146 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#a90a689538d155ec7a6c2fe79bb240f64">add_particle</a>(<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·eta,·<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·phi);</div> | 146 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Ceta__phi__range.html#a90a689538d155ec7a6c2fe79bb240f64">add_particle</a>(<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·eta,·<span·class="keyword">const</span>·<span·class="keywordtype">double</span>·phi);</div> |
147 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> | 147 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> |
148 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">··143</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">eta_range</a>;·····</div> | 148 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">··143</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a0b945ebbe0fd2e8bd043fee02ab7bcb3">eta_range</a>;·····</div> |
149 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> | 149 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> |
150 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">··146</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">phi_range</a>;·····</div> | 150 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">··146</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">phi_range</a>;·····</div> |
151 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> | 151 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> |
152 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··<span·class="comment">//·extremal·value·for·eta</span></div> | 152 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··<span·class="comment">//·extremal·value·for·eta</span></div> |
153 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">··149</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">eta_min</a>;··</div> | 153 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">··149</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">eta_min</a>;··</div> |
154 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">··150</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">eta_max</a>;··</div> | 154 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">··150</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">eta_max</a>;··</div> |
155 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> | 155 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> |
156 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="keyword">private</span>:</div> | 156 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span><span·class="keyword">private</span>:</div> |
157 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·get_eta_cell(<span·class="keywordtype">double</span>·eta){</div> | 157 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·get_eta_cell(<span·class="keywordtype">double</span>·eta){</div> |
158 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····<span·class="keywordflow">return</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)·(1u·<<·((int)·(32*((eta-<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">eta_min</a>)/(<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">eta_max</a>-<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">eta_min</a>)))));</div> | 158 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>····<span·class="keywordflow">return</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)·(1u·<<·((<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">int</a>)·(32*((eta-<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">eta_min</a>)/(<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a67ccb1d3c4fab1489abb175e360f2c86">eta_max</a>-<a·class="code·hl_variable"·href="classsiscone_1_1Ceta__phi__range.html#a91ade04c3634644750ac91767567700b">eta_min</a>)))));</div> |
159 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>··}</div> | 159 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>··}</div> |
160 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> | 160 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> |
161 | <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·get_phi_cell(<span·class="keywordtype">double</span>·phi){</div> | 161 | <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·get_phi_cell(<span·class="keywordtype">double</span>·phi){</div> |
162 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>····<span·class="keywordflow">return</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)·(1u·<<·((int)·(32*phi/<a·class="code·hl_variable"·href="defines_8h.html#ad996edbbc287b4e5f3dd072a10bd6122">twopi</a>+16)%32));</div> | 162 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>····<span·class="keywordflow">return</span>·(<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>)·(1u·<<·((<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">int</a>)·(32*phi/<a·class="code·hl_variable"·href="defines_8h.html#ad996edbbc287b4e5f3dd072a10bd6122">twopi</a>+16)%32));</div> |
163 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>··}</div> | 163 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>··}</div> |
164 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>};</div> | 164 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>};</div> |
165 | </div> | 165 | </div> |
166 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> | 166 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>·</div> |
167 | <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span><span·class="keywordtype">bool</span>·is_range_overlap(<span·class="keyword">const</span>·Ceta_phi_range·&r1,·<span·class="keyword">const</span>·Ceta_phi_range·&r2);</div> | 167 | <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span><span·class="keywordtype">bool</span>·is_range_overlap(<span·class="keyword">const</span>·Ceta_phi_range·&r1,·<span·class="keyword">const</span>·Ceta_phi_range·&r2);</div> |
168 | <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div> | 168 | <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>·</div> |
169 | <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span><span·class="keyword">const</span>·Ceta_phi_range·range_union(<span·class="keyword">const</span>·Ceta_phi_range·&r1,·<span·class="keyword">const</span>·Ceta_phi_range·&r2);</div> | 169 | <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span><span·class="keyword">const</span>·Ceta_phi_range·range_union(<span·class="keyword">const</span>·Ceta_phi_range·&r1,·<span·class="keyword">const</span>·Ceta_phi_range·&r2);</div> |
Offset 181, 14 lines modified | Offset 181, 15 lines modified | ||
181 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_aeee6f7554e13e52b27c133c163b9e2da"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">siscone::Ceta_phi_range::phi_range</a></div><div·class="ttdeci">unsigned·int·phi_range</div><div·class="ttdoc">phi·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00146">geom_2d.h:146</a></div></div> | 181 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_aeee6f7554e13e52b27c133c163b9e2da"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">siscone::Ceta_phi_range::phi_range</a></div><div·class="ttdeci">unsigned·int·phi_range</div><div·class="ttdoc">phi·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00146">geom_2d.h:146</a></div></div> |
182 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html">siscone::Ctwovect</a></div><div·class="ttdoc">class·for·holding·a·two-vector</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00073">geom_2d.h:73</a></div></div> | 182 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html">siscone::Ctwovect</a></div><div·class="ttdoc">class·for·holding·a·two-vector</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00073">geom_2d.h:73</a></div></div> |
183 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_a1b7e947db774a54969b6676e9186e3fc"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#a1b7e947db774a54969b6676e9186e3fc">siscone::Ctwovect::mod2</a></div><div·class="ttdeci">double·mod2()·const</div><div·class="ttdoc">norm·(modulud·square)·of·the·vector</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00087">geom_2d.h:87</a></div></div> | 183 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_a1b7e947db774a54969b6676e9186e3fc"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#a1b7e947db774a54969b6676e9186e3fc">siscone::Ctwovect::mod2</a></div><div·class="ttdeci">double·mod2()·const</div><div·class="ttdoc">norm·(modulud·square)·of·the·vector</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00087">geom_2d.h:87</a></div></div> |
184 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_a5d4f3f40d635c877bf379e9bec88fb7f"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">siscone::Ctwovect::x</a></div><div·class="ttdeci">double·x</div><div·class="ttdoc">vector·coordinates</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00084">geom_2d.h:84</a></div></div> | 184 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_a5d4f3f40d635c877bf379e9bec88fb7f"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#a5d4f3f40d635c877bf379e9bec88fb7f">siscone::Ctwovect::x</a></div><div·class="ttdeci">double·x</div><div·class="ttdoc">vector·coordinates</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00084">geom_2d.h:84</a></div></div> |
185 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_ac7f552bcda09bb82f8f5460dbb80637e"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#ac7f552bcda09bb82f8f5460dbb80637e">siscone::Ctwovect::Ctwovect</a></div><div·class="ttdeci">Ctwovect()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00076">geom_2d.h:76</a></div></div> | 185 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_ac7f552bcda09bb82f8f5460dbb80637e"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#ac7f552bcda09bb82f8f5460dbb80637e">siscone::Ctwovect::Ctwovect</a></div><div·class="ttdeci">Ctwovect()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00076">geom_2d.h:76</a></div></div> |
186 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_ad4e4e13a6c6aae0f26ef9c03c857b4b6"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#ad4e4e13a6c6aae0f26ef9c03c857b4b6">siscone::Ctwovect::modulus</a></div><div·class="ttdeci">double·modulus()·const</div><div·class="ttdoc">modulus·of·the·vector</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00090">geom_2d.h:90</a></div></div> | 186 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_ad4e4e13a6c6aae0f26ef9c03c857b4b6"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#ad4e4e13a6c6aae0f26ef9c03c857b4b6">siscone::Ctwovect::modulus</a></div><div·class="ttdeci">double·modulus()·const</div><div·class="ttdoc">modulus·of·the·vector</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00090">geom_2d.h:90</a></div></div> |
187 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_ae49f7e3ae4e240f5cd06e7de5c3d47fc"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#ae49f7e3ae4e240f5cd06e7de5c3d47fc">siscone::Ctwovect::Ctwovect</a></div><div·class="ttdeci">Ctwovect(double·_x,·double·_y)</div><div·class="ttdoc">ctor·with·initialisation</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00081">geom_2d.h:81</a></div></div> | 187 | <div·class="ttc"·id="aclasssiscone_1_1Ctwovect_html_ae49f7e3ae4e240f5cd06e7de5c3d47fc"><div·class="ttname"><a·href="classsiscone_1_1Ctwovect.html#ae49f7e3ae4e240f5cd06e7de5c3d47fc">siscone::Ctwovect::Ctwovect</a></div><div·class="ttdeci">Ctwovect(double·_x,·double·_y)</div><div·class="ttdoc">ctor·with·initialisation</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00081">geom_2d.h:81</a></div></div> |
188 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
188 | <div·class="ttc"·id="adefines_8h_html"><div·class="ttname"><a·href="defines_8h.html">defines.h</a></div></div> | 189 | <div·class="ttc"·id="adefines_8h_html"><div·class="ttname"><a·href="defines_8h.html">defines.h</a></div></div> |
189 | <div·class="ttc"·id="adefines_8h_html_ad996edbbc287b4e5f3dd072a10bd6122"><div·class="ttname"><a·href="defines_8h.html#ad996edbbc287b4e5f3dd072a10bd6122">twopi</a></div><div·class="ttdeci">const·double·twopi</div><div·class="ttdoc">definition·of·2*M_PI·which·is·useful·a·bit·everyhere!</div><div·class="ttdef"><b>Definition</b>·<a·href="defines_8h_source.html#l00114">defines.h:114</a></div></div> | 190 | <div·class="ttc"·id="adefines_8h_html_ad996edbbc287b4e5f3dd072a10bd6122"><div·class="ttname"><a·href="defines_8h.html#ad996edbbc287b4e5f3dd072a10bd6122">twopi</a></div><div·class="ttdeci">const·double·twopi</div><div·class="ttdoc">definition·of·2*M_PI·which·is·useful·a·bit·everyhere!</div><div·class="ttdef"><b>Definition</b>·<a·href="defines_8h_source.html#l00114">defines.h:114</a></div></div> |
190 | </div><!--·fragment·--></div><!--·contents·--> | 191 | </div><!--·fragment·--></div><!--·contents·--> |
191 | <!--·start·footer·part·--> | 192 | <!--·start·footer·part·--> |
192 | <hr·class="footer"/><address·class="footer"><small> | 193 | <hr·class="footer"/><address·class="footer"><small> |
193 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 194 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
194 | </small></address> | 195 | </small></address> |
Offset 59, 21 lines modified | Offset 59, 21 lines modified | ||
59 | 66inline·double·pow2(double·x)·{return·x*x;} | 59 | 66inline·double·pow2(double·x)·{return·x*x;} |
60 | 67 | 60 | 67 |
61 | 68 | 61 | 68 |
62 | _\x87_\x83class·_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t·{ | 62 | _\x87_\x83class·_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t·{ |
63 | 74public: | 63 | 74public: |
64 | _\x87_\x86·_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t()·:·_\x8x(0.0),·y(0.0)·{} | 64 | _\x87_\x86·_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t()·:·_\x8x(0.0),·y(0.0)·{} |
65 | 77 | 65 | 77 |
66 | _\x88_\x81·_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t(double·_x,·double·_y)·:·_.x(_x),·y(_y)·{} | 66 | _\x88_\x81·_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t(double·_.__.x,·double·_.__.y)·:·_.x(_.__.x),·y(_.__.y)·{} |
67 | 82 | 67 | 82 |
68 | _\x88_\x84·double·_\x8x,·y; | 68 | _\x88_\x84·double·_\x8x,·y; |
69 | 85 | 69 | 85 |
70 | _\x88_\x87·inline·double·_\x8m_\x8o_\x8d_\x82()·const·{return·pow2(_\x8x)+pow2(y);} | 70 | _\x88_\x87·inline·double·_\x8m_\x8o_\x8d_\x82()·const·{return·pow2(_\x8x)+pow2(y);} |
71 | 88 | 71 | 88 |
72 | _\x89_\x80·inline·double·_\x8m_\x8o_\x8d_\x8u_\x8l_\x8u_\x8s()·const·{return·sqrt(_\x8m_\x8o_\x8d_\x82());} | 72 | _\x89_\x80·inline·double·_\x8m_\x8o_\x8d_\x8u_\x8l_\x8u_\x8s()·const·{return·_.s_.q_.r_.t(_\x8m_\x8o_\x8d_\x82());} |
73 | 91}; | 73 | 91}; |
74 | 92 | 74 | 92 |
75 | 93 | 75 | 93 |
76 | 98inline·double·dot_product(const·Ctwovect·&·a,·const·Ctwovect·&·b)·{ | 76 | 98inline·double·dot_product(const·Ctwovect·&·a,·const·Ctwovect·&·b)·{ |
77 | 99·return·a.x*b.x·+·a.y*b.y; | 77 | 99·return·a.x*b.x·+·a.y*b.y; |
78 | 100} | 78 | 100} |
79 | 101 | 79 | 101 |
Offset 83, 36 lines modified | Offset 83, 36 lines modified | ||
83 | 109} | 83 | 109} |
84 | 110 | 84 | 110 |
85 | 111 | 85 | 111 |
86 | _\x81_\x82_\x80class·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e{ | 86 | _\x81_\x82_\x80class·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e{ |
87 | 121public: | 87 | 121public: |
88 | 123·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e(); | 88 | 123·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e(); |
89 | 124 | 89 | 124 |
90 | 130·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e(double·c_eta,·double·c_phi,·double·R); | 90 | 130·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e(double·_.c_.__.e_.t_.a,·double·_.c_.__.p_.h_.i,·double·R); |
91 | 131 | 91 | 131 |
92 | 134·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·&r); | 92 | 134·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e·&_.r); |
93 | 135 | 93 | 135 |
94 | 140·int·_\x8a_\x8d_\x8d_\x8__\x8p_\x8a_\x8r_\x8t_\x8i_\x8c_\x8l_\x8e(const·double·eta,·const·double·phi); | 94 | 140·int·_\x8a_\x8d_\x8d_\x8__\x8p_\x8a_\x8r_\x8t_\x8i_\x8c_\x8l_\x8e(const·double·eta,·const·double·phi); |
95 | 141 | 95 | 141 |
96 | _\x81_\x84_\x83·unsigned·int·_\x8e_\x8t_\x8a_\x8__\x8r_\x8a_\x8n_\x8g_\x8e; | 96 | _\x81_\x84_\x83·unsigned·int·_\x8e_\x8t_\x8a_\x8__\x8r_\x8a_\x8n_\x8g_\x8e; |
97 | 144 | 97 | 144 |
98 | _\x81_\x84_\x86·unsigned·int·_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e; | 98 | _\x81_\x84_\x86·unsigned·int·_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e; |
99 | 147 | 99 | 147 |
100 | 148·//·extremal·value·for·eta | 100 | 148·//·extremal·value·for·eta |
101 | _\x81_\x84_\x89·static·double·_\x8e_\x8t_\x8a_\x8__\x8m_\x8i_\x8n; | 101 | _\x81_\x84_\x89·static·double·_\x8e_\x8t_\x8a_\x8__\x8m_\x8i_\x8n; |
102 | _\x81_\x85_\x80·static·double·_\x8e_\x8t_\x8a_\x8__\x8m_\x8a_\x8x; | 102 | _\x81_\x85_\x80·static·double·_\x8e_\x8t_\x8a_\x8__\x8m_\x8a_\x8x; |
103 | 151 | 103 | 151 |
104 | 152private: | 104 | 152private: |
105 | 154·inline·unsigned·int·get_eta_cell(double·eta){ | 105 | 154·inline·unsigned·int·get_eta_cell(double·eta){ |
106 | 155·return·(unsigned·int)·(1u·<<·((int)·(32*((eta-_\x8e_\x8t_\x8a_\x8__\x8m_\x8i_\x8n)/(_\x8e_\x8t_\x8a_\x8__\x8m_\x8a_\x8x- | 106 | 155·return·(unsigned·int)·(1u·<<·((_.i_.n_.t)·(32*((eta-_\x8e_\x8t_\x8a_\x8__\x8m_\x8i_\x8n)/(_\x8e_\x8t_\x8a_\x8__\x8m_\x8a_\x8x- |
107 | _\x8e_\x8t_\x8a_\x8__\x8m_\x8i_\x8n))))); | 107 | _\x8e_\x8t_\x8a_\x8__\x8m_\x8i_\x8n))))); |
108 | 156·} | 108 | 156·} |
109 | 157 | 109 | 157 |
110 | 159·inline·unsigned·int·get_phi_cell(double·phi){ | 110 | 159·inline·unsigned·int·get_phi_cell(double·phi){ |
111 | 160·return·(unsigned·int)·(1u·<<·((int)·(32*phi/_\x8t_\x8w_\x8o_\x8p_\x8i+16)%32)); | 111 | 160·return·(unsigned·int)·(1u·<<·((_.i_.n_.t)·(32*phi/_\x8t_\x8w_\x8o_\x8p_\x8i+16)%32)); |
112 | 161·} | 112 | 161·} |
113 | 162}; | 113 | 162}; |
114 | 163 | 114 | 163 |
115 | 168bool·is_range_overlap(const·Ceta_phi_range·&r1,·const·Ceta_phi_range·&r2); | 115 | 168bool·is_range_overlap(const·Ceta_phi_range·&r1,·const·Ceta_phi_range·&r2); |
116 | 169 | 116 | 169 |
117 | 175const·Ceta_phi_range·range_union(const·Ceta_phi_range·&r1,·const | 117 | 175const·Ceta_phi_range·range_union(const·Ceta_phi_range·&r1,·const |
118 | Ceta_phi_range·&r2); | 118 | Ceta_phi_range·&r2); |
Offset 170, 14 lines modified | Offset 170, 18 lines modified | ||
170 | double·modulus()·const | 170 | double·modulus()·const |
171 | modulus·of·the·vector | 171 | modulus·of·the·vector |
172 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x89_\x80 | 172 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x89_\x80 |
173 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t_\x8:_\x8:_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t | 173 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t_\x8:_\x8:_\x8C_\x8t_\x8w_\x8o_\x8v_\x8e_\x8c_\x8t |
174 | Ctwovect(double·_x,·double·_y) | 174 | Ctwovect(double·_x,·double·_y) |
175 | ctor·with·initialisation | 175 | ctor·with·initialisation |
176 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x88_\x81 | 176 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x88_\x81 |
177 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
178 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
179 | iterator; | ||
180 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
177 | _\x8d_\x8e_\x8f_\x8i_\x8n_\x8e_\x8s_\x8._\x8h | 181 | _\x8d_\x8e_\x8f_\x8i_\x8n_\x8e_\x8s_\x8._\x8h |
178 | _\x8t_\x8w_\x8o_\x8p_\x8i | 182 | _\x8t_\x8w_\x8o_\x8p_\x8i |
179 | const·double·twopi | 183 | const·double·twopi |
180 | definition·of·2*M_PI·which·is·useful·a·bit·everyhere! | 184 | definition·of·2*M_PI·which·is·useful·a·bit·everyhere! |
181 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8d_\x8e_\x8f_\x8i_\x8n_\x8e_\x8s_\x8._\x8h_\x8:_\x81_\x81_\x84 | 185 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8d_\x8e_\x8f_\x8i_\x8n_\x8e_\x8s_\x8._\x8h_\x8:_\x81_\x81_\x84 |
182 | =============================================================================== | 186 | =============================================================================== |
183 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 187 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 93, 55 lines modified | Offset 93, 55 lines modified | ||
93 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">·**************************************************************/</span></div> | 93 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">·**************************************************************/</span></div> |
94 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 94 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
95 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//·constructor·with·initialisation</span></div> | 95 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//·constructor·with·initialisation</span></div> |
96 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··-·_Np··number·of·particles</span></div> | 96 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//··-·_Np··number·of·particles</span></div> |
97 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··-·_R2··cone·radius·(squared)</span></div> | 97 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno">···45</span><span·class="comment">//··-·_R2··cone·radius·(squared)</span></div> |
98 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//-----------------------------------</span></div> | 98 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span><span·class="comment">//-----------------------------------</span></div> |
99 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="}"> | 99 | <div·class="foldopen"·id="foldopen00047"·data-start="{"·data-end="}"> |
100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#af34bc160be66f8b2112766d801d8a7b0">···47</a></span><a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#af34bc160be66f8b2112766d801d8a7b0">hash_cones::hash_cones</a>(<span·class="keywordtype">int</span>·_Np,·<span·class="keywordtype">double</span>·_R2){</div> | 100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#af34bc160be66f8b2112766d801d8a7b0">···47</a></span><a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#af34bc160be66f8b2112766d801d8a7b0">hash_cones::hash_cones</a>(<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_Np</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_R2</a>){</div> |
101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordtype">int</span>·i;</div> | 101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<span·class="keywordtype">int</span>·i;</div> |
102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">n_cones</a>·=·0;</div> | 103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">n_cones</a>·=·0;</div> |
104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#ifdef·DEBUG_STABLE_CONES</span></div> | 104 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="preprocessor">#ifdef·DEBUG_STABLE_CONES</span></div> |
105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··n_occupied_cells·=·0;</div> | 105 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">n_occupied_cells</a>·=·0;</div> |
106 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div> | 106 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="preprocessor">#endif</span></div> |
107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 107 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="comment">//·determine·hash·size</span></div> | 108 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="comment">//·determine·hash·size</span></div> |
109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·for·a·ymax=5·and·R=0.7,·we·observed·an·occupancy·around·1/8·N^2·~·N2·R2/4</span></div> | 109 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<span·class="comment">//·for·a·ymax=5·and·R=0.7,·we·observed·an·occupancy·around·1/8·N^2·~·N2·R2/4</span></div> |
110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="comment">//mask·=·1·<<·(int)·(2*log(double(_Np))/log(2.0));</span></div> | 110 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>··<span·class="comment">//mask·=·1·<<·(int)·(2*log(double(_Np))/log(2.0));</span></div> |
111 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">//if·(mask<=1)·mask=2;</span></div> | 111 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">//if·(mask<=1)·mask=2;</span></div> |
112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordtype">int</span>·nbits·=·(int)·(log(_Np*_R2*_Np/4.0)/log(2.0));</div> | ||
113 | <div·class="line"><a·id="l000 | 112 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">nbits</a>·=·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">int</a>)·(<a·class="c[·...·truncated·by·diffoscope;·len:·359,·SHA:·e3c9d1b79087263a644903f61cd3f7c7d190115e73419991606d36ece32da059·...·];</div> |
113 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">nbits</a><1)·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">nbits</a>=1;</div> | ||
114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>·=·1·<<·nbits;</div> | 114 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>·=·1·<<·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">nbits</a>;</div> |
115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 115 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·create·hash</span></div> | 116 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="comment">//·create·hash</span></div> |
117 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>*[<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>];</div> | 117 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>*[<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>];</div> |
118 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>--;</div> | 118 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>--;</div> |
119 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> | 119 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>·</div> |
120 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·set·the·array·to·0</span></div> | 120 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="comment">//·set·the·array·to·0</span></div> |
121 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//?·needed·?</span></div> | 121 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<span·class="comment">//?·needed·?</span></div> |
122 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordflow">for</span>·(i=0;i<<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>+1;i++)</div> | 122 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordflow">for</span>·(i=0;i<<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>+1;i++)</div> |
123 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i]·=·NULL;</div> | 123 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>;</div> |
124 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 124 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
125 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#adcc794be97fb560b81d5ed86a8cb7dab">R2</a>·=·_R2;</div> | 125 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#adcc794be97fb560b81d5ed86a8cb7dab">R2</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_R2</a>;</div> |
126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>}</div> | 126 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>}</div> |
127 | </div> | 127 | </div> |
128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | 128 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//·destructor</span></div> | 129 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span><span·class="comment">//·destructor</span></div> |
130 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//------------</span></div> | 130 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><span·class="comment">//------------</span></div> |
131 | <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> | 131 | <div·class="foldopen"·id="foldopen00077"·data-start="{"·data-end="}"> |
132 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#affa459de52582e6a121bf675cb54c72f">···77</a></span><a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#affa459de52582e6a121bf675cb54c72f">hash_cones::~hash_cones</a>(){</div> | 132 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#affa459de52582e6a121bf675cb54c72f">···77</a></span><a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#affa459de52582e6a121bf675cb54c72f">hash_cones::~hash_cones</a>(){</div> |
133 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keywordtype">int</span>·i;</div> | 133 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keywordtype">int</span>·i;</div> |
134 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>·*elm;</div> | 134 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>·*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>;</div> |
135 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 135 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
136 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keywordflow">for</span>·(i=0;i<<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>+1;i++){</div> | 136 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keywordflow">for</span>·(i=0;i<<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>+1;i++){</div> |
137 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">while</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i]!=NULL){</div> | 137 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>····<span·class="keywordflow">while</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i]!=<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>){</div> |
138 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······elm·=·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i];</div> | 138 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>······<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>·=·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i];</div> |
139 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i]·=·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i]-><a·class="code·hl_variable"·href="classsiscone_1_1hash__element.html#a0d05b94d0fcd9360c322d977e5a09733">next</a>;</div> | 139 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>······<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i]·=·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[i]-><a·class="code·hl_variable"·href="classsiscone_1_1hash__element.html#a0d05b94d0fcd9360c322d977e5a09733">next</a>;</div> |
140 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keyword">delete</span>·elm;</div> | 140 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span>······<span·class="keyword">delete</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>;</div> |
141 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div> | 141 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>····}</div> |
142 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··}</div> | 142 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>··}</div> |
143 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> | 143 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>·</div> |
144 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keyword">delete</span>[]·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>;</div> | 144 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<span·class="keyword">delete</span>[]·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>;</div> |
145 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}</div> | 145 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>}</div> |
146 | </div> | 146 | </div> |
147 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | 147 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> |
Offset 152, 71 lines modified | Offset 152, 71 lines modified | ||
152 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">·*··-·parent··parent·particle·defining·the·cone</span></div> | 152 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">·*··-·parent··parent·particle·defining·the·cone</span></div> |
153 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">·*··-·child···child·particle·defining·the·cone</span></div> | 153 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">·*··-·child···child·particle·defining·the·cone</span></div> |
154 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">·*··-·p_io····whether·the·parent·has·to·belong·to·the·cone·or·not</span></div> | 154 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="comment">·*··-·p_io····whether·the·parent·has·to·belong·to·the·cone·or·not</span></div> |
155 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">·*··-·c_io····whether·the·child·has·to·belong·to·the·cone·or·not</span></div> | 155 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="comment">·*··-·c_io····whether·the·child·has·to·belong·to·the·cone·or·not</span></div> |
156 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment">·*·return·0·on·success,·1·on·error</span></div> | 156 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span><span·class="comment">·*·return·0·on·success,·1·on·error</span></div> |
157 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">·***********************************************************************/</span></div> | 157 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">·***********************************************************************/</span></div> |
158 | <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="}"> | 158 | <div·class="foldopen"·id="foldopen00102"·data-start="{"·data-end="}"> |
159 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">··102</a></span><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">hash_cones::insert</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*parent,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*child,·<span·class="keywordtype">bool</span>·p_io,·<span·class="keywordtype">bool</span>·c_io){</div> | 159 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">··102</a></span><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">hash_cones::insert</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*parent,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*child,·<span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">p_io</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_io</a>){</div> |
160 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>·*elm;</div> | 160 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>·*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>;</div> |
161 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keywordtype">int</span>·index·=·(v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>.<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0])·&·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>;</div> | 161 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<span·class="keywordtype">int</span>·index·=·(v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>.<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0])·&·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>;</div> |
162 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | 162 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> |
163 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="comment">//·check·the·array·cell·corresponding·to·our·reference</span></div> | 163 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<span·class="comment">//·check·the·array·cell·corresponding·to·our·reference</span></div> |
164 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··elm·=·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[index];</div> | 164 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>·=·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[index];</div> |
165 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> | 165 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>·</div> |
166 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="preprocessor">#ifdef·DEBUG_STABLE_CONES</span></div> | 166 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="preprocessor">#ifdef·DEBUG_STABLE_CONES</span></div> |
167 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keywordflow">if</span>·(elm==NULL)</div> | 167 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>==<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>)</div> |
168 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····n_occupied_cells++;</div> | 168 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>····<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">n_occupied_cells</a>++;</div> |
169 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="preprocessor">#endif</span></div> | 169 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span><span·class="preprocessor">#endif</span></div> |
170 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> | 170 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>·</div> |
171 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="keywordflow">do</span>{</div> | 171 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="keywordflow">do</span>{</div> |
172 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="comment">//·if·it·is·not·present,·add·it</span></div> | 172 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>····<span·class="comment">//·if·it·is·not·present,·add·it</span></div> |
173 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordflow">if</span>·(elm==NULL){</div> | 173 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>····<span·class="keywordflow">if</span>·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>==<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>){</div> |
174 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······<span·class="comment">//·create·element</span></div> | 174 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>······<span·class="comment">//·create·element</span></div> |
175 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······elm·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>;</div> | 175 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>······<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>;</div> |
176 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> | 176 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>·</div> |
177 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······<span·class="comment">//·set·its·varibles</span></div> | 177 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>······<span·class="comment">//·set·its·varibles</span></div> |
178 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······<span·class="comment">//·Note:·at·this·level,·eta·and·phi·have·already·been·computed</span></div> | 178 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>······<span·class="comment">//·Note:·at·this·level,·eta·and·phi·have·already·been·computed</span></div> |
179 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="comment">//·······through·Cmomentum::build_etaphi.</span></div> | 179 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>······<span·class="comment">//·······through·Cmomentum::build_etaphi.</span></div> |
180 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······ | 180 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>······<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->ref·=·v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>;</div> |
181 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······</div> | 181 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>······</div> |
182 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>······<span·class="comment">//compute·vectors·centre</span></div> | 182 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>······<span·class="comment">//compute·vectors·centre</span></div> |
183 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>······v-><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">build_etaphi</a>();</div> | 183 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>······v-><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">build_etaphi</a>();</div> |
184 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······elm-><a·class="code·hl_variable"·href="classsiscone_1_1hash__element.html#ad8d145d06bb17bdde4f7859b483c051c">eta</a>·=·v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>;</div> | ||
185 | <div·class="line"><a·id="l0012 | 184 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>······<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->eta·=·v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>;</div> |
185 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>······<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->phi·=·v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>;</div> | ||
186 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>······<span·class="comment">//·if·at·least·one·of·the·two·is_inside·tests·gives·a·result·!=·from·the·expected,</span></div> | 186 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>······<span·class="comment">//·if·at·least·one·of·the·two·is_inside·tests·gives·a·result·!=·from·the·expected,</span></div> |
187 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>······<span·class="comment">//·the·||·will·be·true·hence·!(...)·false·as·wanted</span></div> | 187 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>······<span·class="comment">//·the·||·will·be·true·hence·!(...)·false·as·wanted</span></div> |
188 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>······ | 188 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>······<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->is_stable·=·!((<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#aee313f9213a4aad1782f9f1c8703f2bc">is_inside</a>(v,·parent)^<a·class="code·hl_class"·href="classsi[·...·truncated·by·diffoscope;·len:·236,·SHA:·d91da1eb0b02b4c2a16da0a17c1a358cb5a8c7993896597a3132bf004977da5d·...·]));</div> |
189 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>······<span·class="comment">//cout·<<·"--·new·status·of·"·<<··v->ref[0]·<<·":"·<<·elm->is_stable·<<·endl;</span></div> | 189 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>······<span·class="comment">//cout·<<·"--·new·status·of·"·<<··v->ref[0]·<<·":"·<<·elm->is_stable·<<·endl;</span></div> |
190 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> | 190 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>·</div> |
191 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>······<span·class="comment">//·update·hash</span></div> | 191 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>······<span·class="comment">//·update·hash</span></div> |
192 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>······ | 192 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>······<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->next·=·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[index];</div> |
193 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>······<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[index]·=·elm;</div> | 193 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>······<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>[index]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>;</div> |
194 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>······</div> | 194 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>······</div> |
195 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>······<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">n_cones</a>++;</div> | 195 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>······<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">n_cones</a>++;</div> |
196 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>······<span·class="keywordflow">return</span>·0;</div> | 196 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>······<span·class="keywordflow">return</span>·0;</div> |
197 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>····}</div> | 197 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>····}</div> |
198 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> | 198 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>·</div> |
199 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>····<span·class="comment">//·if·the·cone·is·already·there,·simply·update·stability·status</span></div> | 199 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>····<span·class="comment">//·if·the·cone·is·already·there,·simply·update·stability·status</span></div> |
200 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="keywordflow">if</span>·(v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>·==· | 200 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<span·class="keywordflow">if</span>·(v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>·==·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->ref){</div> |
201 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>······<span·class="comment">//·there·is·only·an·update·to·perform·to·see·if·the·cone·is·still·stable</span></div> | 201 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>······<span·class="comment">//·there·is·only·an·update·to·perform·to·see·if·the·cone·is·still·stable</span></div> |
202 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>······<span·class="keywordflow">if</span>·( | 202 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>······<span·class="keywordflow">if</span>·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->is_stable){</div> |
203 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········v-><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">build_etaphi</a>();</div> | 203 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>········v-><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">build_etaphi</a>();</div> |
204 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>········ | 204 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>········<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->is_stable·=·!((<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#aee313f9213a4aad1782f9f1c8703f2bc">is_inside</a>(v,·parent)^<a·class="code·hl_class"·href="classsi[·...·truncated·by·diffoscope;·len:·236,·SHA:·d91da1eb0b02b4c2a16da0a17c1a358cb5a8c7993896597a3132bf004977da5d·...·]));</div> |
205 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>········<span·class="comment">//cout·<<·"·parent/child:·"·</span></div> | 205 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>········<span·class="comment">//cout·<<·"·parent/child:·"·</span></div> |
206 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>········<span·class="comment">//·····<<·parent->ref[0]·<<·":"·<<·is_inside(v,·parent)·<<·":"·<<·p_io·<<·"·"</span></div> | 206 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>········<span·class="comment">//·····<<·parent->ref[0]·<<·":"·<<·is_inside(v,·parent)·<<·":"·<<·p_io·<<·"·"</span></div> |
207 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>········<span·class="comment">//·····<<·child->ref[0]·<<·":"·<<·is_inside(v,·child)·<<·":"·<<·c_io·<<·endl;</span></div> | 207 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>········<span·class="comment">//·····<<·child->ref[0]·<<·":"·<<·is_inside(v,·child)·<<·":"·<<·c_io·<<·endl;</span></div> |
208 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>········<span·class="comment">//cout·<<·"--·rep·status·of·"·<<··v->ref[0]·<<·":"·<<·elm->is_stable·<<·endl;</span></div> | 208 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>········<span·class="comment">//cout·<<·"--·rep·status·of·"·<<··v->ref[0]·<<·":"·<<·elm->is_stable·<<·endl;</span></div> |
209 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>········<span·class="comment">//cout·<<·v->eta·<<·"·"·<<·v->phi·<<·endl;</span></div> | 209 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>········<span·class="comment">//cout·<<·v->eta·<<·"·"·<<·v->phi·<<·endl;</span></div> |
210 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>········<span·class="comment">//cout·<<·(child->eta)·<<·"·"·<<·child->phi·<<·endl;</span></div> | 210 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>········<span·class="comment">//cout·<<·(child->eta)·<<·"·"·<<·child->phi·<<·endl;</span></div> |
211 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>······}</div> | 211 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>······}</div> |
212 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>······<span·class="keywordflow">return</span>·0;</div> | 212 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>······<span·class="keywordflow">return</span>·0;</div> |
213 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>····}</div> | 213 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>····}</div> |
214 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> | 214 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>·</div> |
215 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>···· | 215 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>····<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">elm</a>->next;</div> |
216 | <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>··}·<span·class="keywordflow">while</span>·(1);</div> | 216 | <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>··}·<span·class="keywordflow">while</span>·(1);</div> |
217 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>·</div> | 217 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>·</div> |
218 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>··<span·class="keywordflow">return</span>·1;</div> | 218 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>··<span·class="keywordflow">return</span>·1;</div> |
219 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>}</div> | 219 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>}</div> |
220 | </div> | 220 | </div> |
Max diff block lines reached; 26710/58632 bytes (45.56%) of diff not shown. |
Offset 43, 53 lines modified | Offset 43, 53 lines modified | ||
43 | 40·*·functions·to·manipulate·them.·* | 43 | 40·*·functions·to·manipulate·them.·* |
44 | 41·**************************************************************/ | 44 | 41·**************************************************************/ |
45 | 42 | 45 | 42 |
46 | 43//·constructor·with·initialisation | 46 | 43//·constructor·with·initialisation |
47 | 44//·-·_Np·number·of·particles | 47 | 44//·-·_Np·number·of·particles |
48 | 45//·-·_R2·cone·radius·(squared) | 48 | 45//·-·_R2·cone·radius·(squared) |
49 | 46//----------------------------------- | 49 | 46//----------------------------------- |
50 | _\x84_\x87_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s(int·_Np,·double·_R2){ | 50 | _\x84_\x87_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s(int·_.__.N_.p,·double·_.__.R_.2){ |
51 | 48·int·i; | 51 | 48·int·i; |
52 | 49 | 52 | 49 |
53 | 50·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s·=·0; | 53 | 50·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s·=·0; |
54 | 51#ifdef·DEBUG_STABLE_CONES | 54 | 51#ifdef·DEBUG_STABLE_CONES |
55 | 52·n_occupied_cells·=·0; | 55 | 52·_.n_.__.o_.c_.c_.u_.p_.i_.e_.d_.__.c_.e_.l_.l_.s·=·0; |
56 | 53#endif | 56 | 53#endif |
57 | 54 | 57 | 54 |
58 | 55·//·determine·hash·size | 58 | 55·//·determine·hash·size |
59 | 56·//·for·a·ymax=5·and·R=0.7,·we·observed·an·occupancy·around·1/8·N^2·~·N2·R2/4 | 59 | 56·//·for·a·ymax=5·and·R=0.7,·we·observed·an·occupancy·around·1/8·N^2·~·N2·R2/4 |
60 | 57·//mask·=·1·<<·(int)·(2*log(double(_Np))/log(2.0)); | 60 | 57·//mask·=·1·<<·(int)·(2*log(double(_Np))/log(2.0)); |
61 | 58·//if·(mask<=1)·mask=2; | 61 | 58·//if·(mask<=1)·mask=2; |
62 | 59·int·nbits·=·(int)·(log(_Np*_R2*_Np/4.0)/log(2.0)); | ||
63 | 62 | 59·int·_.n_.b_.i_.t_.s·=·(_.i_.n_.t)·(_.l_.o_.g(_.__.N_.p*_.__.R_.2*_.__.N_.p/4.0)/_.l_.o_.g(2.0)); | |
63 | 60·if·(_\x8n_\x8b_\x8i_\x8t_\x8s<1)·_\x8n_\x8b_\x8i_\x8t_\x8s=1; | ||
64 | 61·_\x8m_\x8a_\x8s_\x8k·=·1·<<·nbits; | 64 | 61·_\x8m_\x8a_\x8s_\x8k·=·1·<<·_.n_.b_.i_.t_.s; |
65 | 62 | 65 | 62 |
66 | 63·//·create·hash | 66 | 63·//·create·hash |
67 | 64·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y·=·new·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t*[_\x8m_\x8a_\x8s_\x8k]; | 67 | 64·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y·=·new·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t*[_\x8m_\x8a_\x8s_\x8k]; |
68 | 65·_\x8m_\x8a_\x8s_\x8k--; | 68 | 65·_\x8m_\x8a_\x8s_\x8k--; |
69 | 66 | 69 | 66 |
70 | 67·//·set·the·array·to·0 | 70 | 67·//·set·the·array·to·0 |
71 | 68·//?·needed·? | 71 | 68·//?·needed·? |
72 | 69·for·(i=0;i<_\x8m_\x8a_\x8s_\x8k+1;i++) | 72 | 69·for·(i=0;i<_\x8m_\x8a_\x8s_\x8k+1;i++) |
73 | 70·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]·=·NULL; | 73 | 70·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]·=·_.N_.U_.L_.L; |
74 | 71 | 74 | 71 |
75 | 72·_\x8R_\x82·=·_R2; | 75 | 72·_\x8R_\x82·=·_.__.R_.2; |
76 | 73} | 76 | 73} |
77 | 74 | 77 | 74 |
78 | 75//·destructor | 78 | 75//·destructor |
79 | 76//------------ | 79 | 76//------------ |
80 | _\x87_\x87_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8~_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s(){ | 80 | _\x87_\x87_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8~_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s(){ |
81 | 78·int·i; | 81 | 78·int·i; |
82 | 79·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t·*elm; | 82 | 79·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t·*_.e_.l_.m; |
83 | 80 | 83 | 80 |
84 | 81·for·(i=0;i<_\x8m_\x8a_\x8s_\x8k+1;i++){ | 84 | 81·for·(i=0;i<_\x8m_\x8a_\x8s_\x8k+1;i++){ |
85 | 82·while·(_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]!=NULL){ | 85 | 82·while·(_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]!=_.N_.U_.L_.L){ |
86 | 83·elm·=·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]; | 86 | 83·_.e_.l_.m·=·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]; |
87 | 84·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]·=·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]->_\x8n_\x8e_\x8x_\x8t; | 87 | 84·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]·=·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[i]->_\x8n_\x8e_\x8x_\x8t; |
88 | 85·delete·elm; | 88 | 85·delete·_.e_.l_.m; |
89 | 86·} | 89 | 86·} |
90 | 87·} | 90 | 87·} |
91 | 88 | 91 | 88 |
92 | 89·delete[]·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y; | 92 | 89·delete[]·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y; |
93 | 90} | 93 | 90} |
94 | 91 | 94 | 91 |
95 | 92 | 95 | 92 |
Offset 99, 123 lines modified | Offset 99, 123 lines modified | ||
99 | 96·*·-·parent·parent·particle·defining·the·cone | 99 | 96·*·-·parent·parent·particle·defining·the·cone |
100 | 97·*·-·child·child·particle·defining·the·cone | 100 | 97·*·-·child·child·particle·defining·the·cone |
101 | 98·*·-·p_io·whether·the·parent·has·to·belong·to·the·cone·or·not | 101 | 98·*·-·p_io·whether·the·parent·has·to·belong·to·the·cone·or·not |
102 | 99·*·-·c_io·whether·the·child·has·to·belong·to·the·cone·or·not | 102 | 99·*·-·c_io·whether·the·child·has·to·belong·to·the·cone·or·not |
103 | 100·*·return·0·on·success,·1·on·error | 103 | 100·*·return·0·on·success,·1·on·error |
104 | 101·***********************************************************************/ | 104 | 101·***********************************************************************/ |
105 | _\x81_\x80_\x82int·_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*parent,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*child, | 105 | _\x81_\x80_\x82int·_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*parent,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*child, |
106 | bool·p_io,·bool·c_io){ | 106 | bool·_.p_.__.i_.o,·bool·_.c_.__.i_.o){ |
107 | 103·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t·*elm; | 107 | 103·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t·*_.e_.l_.m; |
108 | 104·int·index·=·(v->_\x8r_\x8e_\x8f._\x8r_\x8e_\x8f[0])·&·_\x8m_\x8a_\x8s_\x8k; | 108 | 104·int·index·=·(v->_\x8r_\x8e_\x8f._\x8r_\x8e_\x8f[0])·&·_\x8m_\x8a_\x8s_\x8k; |
109 | 105 | 109 | 105 |
110 | 106·//·check·the·array·cell·corresponding·to·our·reference | 110 | 106·//·check·the·array·cell·corresponding·to·our·reference |
111 | 107·elm·=·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[index]; | 111 | 107·_.e_.l_.m·=·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[index]; |
112 | 108 | 112 | 108 |
113 | 109#ifdef·DEBUG_STABLE_CONES | 113 | 109#ifdef·DEBUG_STABLE_CONES |
114 | 110·if·(elm==NULL) | ||
115 | 11 | 114 | 110·if·(_.e_.l_.m==_.N_.U_.L_.L) |
115 | 111·_\x8n_\x8__\x8o_\x8c_\x8c_\x8u_\x8p_\x8i_\x8e_\x8d_\x8__\x8c_\x8e_\x8l_\x8l_\x8s++; | ||
116 | 112#endif | 116 | 112#endif |
117 | 113 | 117 | 113 |
118 | 114·do{ | 118 | 114·do{ |
119 | 115·//·if·it·is·not·present,·add·it | 119 | 115·//·if·it·is·not·present,·add·it |
120 | 116·if·(elm==NULL){ | 120 | 116·if·(_.e_.l_.m==_.N_.U_.L_.L){ |
121 | 117·//·create·element | 121 | 117·//·create·element |
122 | 118·elm·=·new·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; | 122 | 118·_.e_.l_.m·=·new·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t; |
123 | 119 | 123 | 119 |
124 | 120·//·set·its·varibles | 124 | 120·//·set·its·varibles |
125 | 121·//·Note:·at·this·level,·eta·and·phi·have·already·been·computed | 125 | 121·//·Note:·at·this·level,·eta·and·phi·have·already·been·computed |
126 | 122·//·through·Cmomentum::build_etaphi. | 126 | 122·//·through·Cmomentum::build_etaphi. |
127 | 123· | 127 | 123·_.e_.l_.m->ref·=·v->_\x8r_\x8e_\x8f; |
128 | 124 | 128 | 124 |
129 | 125·//compute·vectors·centre | 129 | 125·//compute·vectors·centre |
130 | 126·v->_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i(); | 130 | 126·v->_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i(); |
131 | 127· | 131 | 127·_.e_.l_.m->eta·=·v->_\x8e_\x8t_\x8a; |
132 | 128· | 132 | 128·_.e_.l_.m->phi·=·v->_\x8p_\x8h_\x8i; |
133 | 129·//·if·at·least·one·of·the·two·is_inside·tests·gives·a·result·!=·from·the | 133 | 129·//·if·at·least·one·of·the·two·is_inside·tests·gives·a·result·!=·from·the |
134 | expected, | 134 | expected, |
135 | 130·//·the·||·will·be·true·hence·!(...)·false·as·wanted | 135 | 130·//·the·||·will·be·true·hence·!(...)·false·as·wanted |
136 | 131· | 136 | 131·_.e_.l_.m->is_stable·=·!((_.i_.s_.__.i_.n_.s_.i_.d_.e(v,·parent)^_.p_.__.i_.o)||(_\x8i_\x8s_\x8__\x8i_\x8n_\x8s_\x8i_\x8d_\x8e(v, |
137 | child)^c_io)); | 137 | child)^_.c_.__.i_.o)); |
138 | 132·//cout·<<·"--·new·status·of·"·<<·v->ref[0]·<<·":"·<<·elm->is_stable·<< | 138 | 132·//cout·<<·"--·new·status·of·"·<<·v->ref[0]·<<·":"·<<·elm->is_stable·<< |
139 | endl; | 139 | endl; |
140 | 133 | 140 | 133 |
141 | 134·//·update·hash | 141 | 134·//·update·hash |
142 | 135· | 142 | 135·_.e_.l_.m->next·=·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[index]; |
143 | 136·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[index]·=·elm; | 143 | 136·_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y[index]·=·_.e_.l_.m; |
144 | 137 | 144 | 137 |
145 | 138·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s++; | 145 | 138·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s++; |
146 | 139·return·0; | 146 | 139·return·0; |
147 | 140·} | 147 | 140·} |
148 | 141 | 148 | 141 |
149 | 142·//·if·the·cone·is·already·there,·simply·update·stability·status | 149 | 142·//·if·the·cone·is·already·there,·simply·update·stability·status |
150 | 143·if·(v->_\x8r_\x8e_\x8f·==· | 150 | 143·if·(v->_\x8r_\x8e_\x8f·==·_.e_.l_.m->ref){ |
151 | 144·//·there·is·only·an·update·to·perform·to·see·if·the·cone·is·still·stable | 151 | 144·//·there·is·only·an·update·to·perform·to·see·if·the·cone·is·still·stable |
152 | 145·if·( | 152 | 145·if·(_.e_.l_.m->is_stable){ |
153 | 146·v->_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i(); | 153 | 146·v->_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i(); |
154 | 147· | 154 | 147·_.e_.l_.m->is_stable·=·!((_.i_.s_.__.i_.n_.s_.i_.d_.e(v,·parent)^_.p_.__.i_.o)||(_\x8i_\x8s_\x8__\x8i_\x8n_\x8s_\x8i_\x8d_\x8e(v, |
155 | child)^c_io)); | 155 | child)^_.c_.__.i_.o)); |
156 | 148·//cout·<<·"·parent/child:·" | 156 | 148·//cout·<<·"·parent/child:·" |
157 | 149·//·<<·parent->ref[0]·<<·":"·<<·is_inside(v,·parent)·<<·":"·<<·p_io·<<·"·" | 157 | 149·//·<<·parent->ref[0]·<<·":"·<<·is_inside(v,·parent)·<<·":"·<<·p_io·<<·"·" |
158 | 150·//·<<·child->ref[0]·<<·":"·<<·is_inside(v,·child)·<<·":"·<<·c_io·<<·endl; | 158 | 150·//·<<·child->ref[0]·<<·":"·<<·is_inside(v,·child)·<<·":"·<<·c_io·<<·endl; |
159 | 151·//cout·<<·"--·rep·status·of·"·<<·v->ref[0]·<<·":"·<<·elm->is_stable·<< | 159 | 151·//cout·<<·"--·rep·status·of·"·<<·v->ref[0]·<<·":"·<<·elm->is_stable·<< |
160 | endl; | 160 | endl; |
161 | 152·//cout·<<·v->eta·<<·"·"·<<·v->phi·<<·endl; | 161 | 152·//cout·<<·v->eta·<<·"·"·<<·v->phi·<<·endl; |
162 | 153·//cout·<<·(child->eta)·<<·"·"·<<·child->phi·<<·endl; | 162 | 153·//cout·<<·(child->eta)·<<·"·"·<<·child->phi·<<·endl; |
163 | 154·} | 163 | 154·} |
164 | 155·return·0; | 164 | 155·return·0; |
165 | 156·} | 165 | 156·} |
166 | 157 | 166 | 157 |
167 | 158·elm·=· | 167 | 158·_.e_.l_.m·=·_.e_.l_.m->next; |
168 | 159·}·while·(1); | 168 | 159·}·while·(1); |
169 | 160 | 169 | 160 |
Max diff block lines reached; 5441/11407 bytes (47.70%) of diff not shown. |
Offset 95, 42 lines modified | Offset 95, 43 lines modified | ||
95 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__element.html#a0d05b94d0fcd9360c322d977e5a09733">···52</a></span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>·*<a·class="code·hl_variable"·href="classsiscone_1_1hash__element.html#a0d05b94d0fcd9360c322d977e5a09733">next</a>;··</div> | 95 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__element.html#a0d05b94d0fcd9360c322d977e5a09733">···52</a></span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>·*<a·class="code·hl_variable"·href="classsiscone_1_1hash__element.html#a0d05b94d0fcd9360c322d977e5a09733">next</a>;··</div> |
96 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>};</div> | 96 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>};</div> |
97 | </div> | 97 | </div> |
98 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> | 98 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>·</div> |
99 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="};"> | 99 | <div·class="foldopen"·id="foldopen00062"·data-start="{"·data-end="};"> |
100 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html">···62</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1hash__cones.html">hash_cones</a>{</div> | 100 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html">···62</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1hash__cones.html">hash_cones</a>{</div> |
101 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·<span·class="keyword">public</span>:</div> | 101 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·<span·class="keyword">public</span>:</div> |
102 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__cones.html">hash_cones</a>(<span·class="keywordtype">int</span>·_Np,·<span·class="keywordtype">double</span>·_R2);</div> | 102 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__cones.html">hash_cones</a>(<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_Np</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_R2</a>);</div> |
103 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 103 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
104 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#affa459de52582e6a121bf675cb54c72f">~hash_cones</a>();</div> | 104 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#affa459de52582e6a121bf675cb54c72f">~hash_cones</a>();</div> |
105 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 105 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
106 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">insert</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*parent,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*child,·<span·class="keywordtype">bool</span>·p_io,·<span·class="keywordtype">bool</span>·c_io);</div> | 106 | <div·class="line"><a·id="l00081"·name="l00081"></a><span·class="lineno">···81</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">insert</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*parent,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*child,·<span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">p_io</a>,·<span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">c_io</a>);</div> |
107 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> | 107 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>·</div> |
108 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">insert</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v);</div> | 108 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">insert</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v);</div> |
109 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> | 109 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>·</div> |
110 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">···93</a></span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>·**<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>;</div> | 110 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">···93</a></span>··<a·class="code·hl_class"·href="classsiscone_1_1hash__element.html">hash_element</a>·**<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">hash_array</a>;</div> |
111 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | 111 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
112 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">···96</a></span>··<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">n_cones</a>;</div> | 112 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">···96</a></span>··<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">n_cones</a>;</div> |
113 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> | 113 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>·</div> |
114 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">#ifdef·DEBUG_STABLE_CONES</span></div> | 114 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span><span·class="preprocessor">#ifdef·DEBUG_STABLE_CONES</span></div> |
115 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keywordtype">int</span>·n_occupied_cells;</div> | 115 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">n_occupied_cells</a>;</div> |
116 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="preprocessor">#endif</span></div> | 116 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="preprocessor">#endif</span></div> |
117 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | 117 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> |
118 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">··104</a></span>··<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>;</div> | 118 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">··104</a></span>··<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">mask</a>;</div> |
119 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> | 119 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>·</div> |
120 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#adcc794be97fb560b81d5ed86a8cb7dab">··108</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#adcc794be97fb560b81d5ed86a8cb7dab">R2</a>;</div> | 120 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1hash__cones.html#adcc794be97fb560b81d5ed86a8cb7dab">··108</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1hash__cones.html#adcc794be97fb560b81d5ed86a8cb7dab">R2</a>;</div> |
121 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | 121 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> |
122 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#aee313f9213a4aad1782f9f1c8703f2bc">is_inside</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*centre,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v);</div> | 122 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classsiscone_1_1hash__cones.html#aee313f9213a4aad1782f9f1c8703f2bc">is_inside</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*centre,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v);</div> |
123 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>};</div> | 123 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>};</div> |
124 | </div> | 124 | </div> |
125 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | 125 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> |
126 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>}</div> | 126 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>}</div> |
127 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="preprocessor">#endif</span></div> | 127 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="preprocessor">#endif</span></div> |
128 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html">siscone::Cmomentum</a></div><div·class="ttdoc">base·class·for·dynamic·coordinates·management</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00049">momentum.h:49</a></div></div> | 128 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html">siscone::Cmomentum</a></div><div·class="ttdoc">base·class·for·dynamic·coordinates·management</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00049">momentum.h:49</a></div></div> |
129 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> | 129 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> |
130 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
130 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html">siscone::hash_cones</a></div><div·class="ttdoc">list·of·cones·candidates.</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00062">hash.h:62</a></div></div> | 131 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html">siscone::hash_cones</a></div><div·class="ttdoc">list·of·cones·candidates.</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00062">hash.h:62</a></div></div> |
131 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_a2f10dd1f63f7048f931316e38eea77a0"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">siscone::hash_cones::mask</a></div><div·class="ttdeci">int·mask</div><div·class="ttdoc">number·of·occupied·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00104">hash.h:104</a></div></div> | 132 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_a2f10dd1f63f7048f931316e38eea77a0"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#a2f10dd1f63f7048f931316e38eea77a0">siscone::hash_cones::mask</a></div><div·class="ttdeci">int·mask</div><div·class="ttdoc">number·of·occupied·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00104">hash.h:104</a></div></div> |
132 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_a3116ea61b1cd7a61cd08a3a4bea0bba0"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">siscone::hash_cones::hash_array</a></div><div·class="ttdeci">hash_element·**·hash_array</div><div·class="ttdoc">the·cone·data·itself</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00093">hash.h:93</a></div></div> | 133 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_a3116ea61b1cd7a61cd08a3a4bea0bba0"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#a3116ea61b1cd7a61cd08a3a4bea0bba0">siscone::hash_cones::hash_array</a></div><div·class="ttdeci">hash_element·**·hash_array</div><div·class="ttdoc">the·cone·data·itself</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00093">hash.h:93</a></div></div> |
133 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_a4d4f5cf710dde0fa86766c4f7809fe35"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">siscone::hash_cones::insert</a></div><div·class="ttdeci">int·insert(Cmomentum·*v,·Cmomentum·*parent,·Cmomentum·*child,·bool·p_io,·bool·c_io)</div><div·class="ttdoc">insert·a·new·candidate·into·the·hash.</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8cpp_source.html#l00102">hash.cpp:102</a></div></div> | 134 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_a4d4f5cf710dde0fa86766c4f7809fe35"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#a4d4f5cf710dde0fa86766c4f7809fe35">siscone::hash_cones::insert</a></div><div·class="ttdeci">int·insert(Cmomentum·*v,·Cmomentum·*parent,·Cmomentum·*child,·bool·p_io,·bool·c_io)</div><div·class="ttdoc">insert·a·new·candidate·into·the·hash.</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8cpp_source.html#l00102">hash.cpp:102</a></div></div> |
134 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_adcc794be97fb560b81d5ed86a8cb7dab"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#adcc794be97fb560b81d5ed86a8cb7dab">siscone::hash_cones::R2</a></div><div·class="ttdeci">double·R2</div><div·class="ttdoc">circle·radius·(squared)·NOTE:·need·to·be·set·before·any·call·to·'insert'</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00108">hash.h:108</a></div></div> | 135 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_adcc794be97fb560b81d5ed86a8cb7dab"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#adcc794be97fb560b81d5ed86a8cb7dab">siscone::hash_cones::R2</a></div><div·class="ttdeci">double·R2</div><div·class="ttdoc">circle·radius·(squared)·NOTE:·need·to·be·set·before·any·call·to·'insert'</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00108">hash.h:108</a></div></div> |
135 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_aedaa1c9a5f7a6e9b926b63ff6097f538"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">siscone::hash_cones::n_cones</a></div><div·class="ttdeci">int·n_cones</div><div·class="ttdoc">number·of·elements</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00096">hash.h:96</a></div></div> | 136 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_aedaa1c9a5f7a6e9b926b63ff6097f538"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#aedaa1c9a5f7a6e9b926b63ff6097f538">siscone::hash_cones::n_cones</a></div><div·class="ttdeci">int·n_cones</div><div·class="ttdoc">number·of·elements</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8h_source.html#l00096">hash.h:96</a></div></div> |
136 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_aee313f9213a4aad1782f9f1c8703f2bc"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#aee313f9213a4aad1782f9f1c8703f2bc">siscone::hash_cones::is_inside</a></div><div·class="ttdeci">bool·is_inside(Cmomentum·*centre,·Cmomentum·*v)</div><div·class="ttdoc">test·if·a·particle·is·inside·a·cone·of·given·centre.</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8cpp_source.html#l00219">hash.cpp:219</a></div></div> | 137 | <div·class="ttc"·id="aclasssiscone_1_1hash__cones_html_aee313f9213a4aad1782f9f1c8703f2bc"><div·class="ttname"><a·href="classsiscone_1_1hash__cones.html#aee313f9213a4aad1782f9f1c8703f2bc">siscone::hash_cones::is_inside</a></div><div·class="ttdeci">bool·is_inside(Cmomentum·*centre,·Cmomentum·*v)</div><div·class="ttdoc">test·if·a·particle·is·inside·a·cone·of·given·centre.</div><div·class="ttdef"><b>Definition</b>·<a·href="hash_8cpp_source.html#l00219">hash.cpp:219</a></div></div> |
Offset 43, 29 lines modified | Offset 43, 29 lines modified | ||
43 | _\x85_\x80·bool·_\x8i_\x8s_\x8__\x8s_\x8t_\x8a_\x8b_\x8l_\x8e; | 43 | _\x85_\x80·bool·_\x8i_\x8s_\x8__\x8s_\x8t_\x8a_\x8b_\x8l_\x8e; |
44 | 51 | 44 | 51 |
45 | _\x85_\x82·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t·*_\x8n_\x8e_\x8x_\x8t; | 45 | _\x85_\x82·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t·*_\x8n_\x8e_\x8x_\x8t; |
46 | 53}; | 46 | 53}; |
47 | 54 | 47 | 54 |
48 | _\x86_\x82class·_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s{ | 48 | _\x86_\x82class·_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s{ |
49 | 63·public: | 49 | 63·public: |
50 | 67·_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s(int·_Np,·double·_R2); | 50 | 67·_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s(int·_.__.N_.p,·double·_.__.R_.2); |
51 | 68 | 51 | 68 |
52 | 70·_\x8~_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s(); | 52 | 70·_\x8~_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s(); |
53 | 71 | 53 | 71 |
54 | 81·int·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*parent,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*child,·bool·p_io, | 54 | 81·int·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*parent,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*child,·bool·_.p_.__.i_.o, |
55 | bool·c_io); | 55 | bool·_.c_.__.i_.o); |
56 | 82 | 56 | 82 |
57 | 90·int·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v); | 57 | 90·int·_\x8i_\x8n_\x8s_\x8e_\x8r_\x8t(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v); |
58 | 91 | 58 | 91 |
59 | _\x89_\x83·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t·**_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y; | 59 | _\x89_\x83·_\x8h_\x8a_\x8s_\x8h_\x8__\x8e_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t·**_\x8h_\x8a_\x8s_\x8h_\x8__\x8a_\x8r_\x8r_\x8a_\x8y; |
60 | 94 | 60 | 94 |
61 | _\x89_\x86·int·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s; | 61 | _\x89_\x86·int·_\x8n_\x8__\x8c_\x8o_\x8n_\x8e_\x8s; |
62 | 97 | 62 | 97 |
63 | 99#ifdef·DEBUG_STABLE_CONES | 63 | 99#ifdef·DEBUG_STABLE_CONES |
64 | 100·int·n_occupied_cells; | 64 | 100·int·_.n_.__.o_.c_.c_.u_.p_.i_.e_.d_.__.c_.e_.l_.l_.s; |
65 | 101#endif | 65 | 101#endif |
66 | 102 | 66 | 102 |
67 | _\x81_\x80_\x84·int·_\x8m_\x8a_\x8s_\x8k; | 67 | _\x81_\x80_\x84·int·_\x8m_\x8a_\x8s_\x8k; |
68 | 105 | 68 | 105 |
69 | _\x81_\x80_\x88·double·_\x8R_\x82; | 69 | _\x81_\x80_\x88·double·_\x8R_\x82; |
70 | 109 | 70 | 109 |
71 | 118·inline·bool·_\x8i_\x8s_\x8__\x8i_\x8n_\x8s_\x8i_\x8d_\x8e(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*centre,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v); | 71 | 118·inline·bool·_\x8i_\x8s_\x8__\x8i_\x8n_\x8s_\x8i_\x8d_\x8e(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*centre,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v); |
Offset 75, 14 lines modified | Offset 75, 18 lines modified | ||
75 | 122#endif | 75 | 122#endif |
76 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m | 76 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m |
77 | base·class·for·dynamic·coordinates·management | 77 | base·class·for·dynamic·coordinates·management |
78 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8._\x8h_\x8:_\x84_\x89 | 78 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8._\x8h_\x8:_\x84_\x89 |
79 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e | 79 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e |
80 | references·used·for·checksums. | 80 | references·used·for·checksums. |
81 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x83 | 81 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x83 |
82 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
83 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
84 | iterator; | ||
85 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
82 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s | 86 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s |
83 | list·of·cones·candidates. | 87 | list·of·cones·candidates. |
84 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8:_\x86_\x82 | 88 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8:_\x86_\x82 |
85 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8m_\x8a_\x8s_\x8k | 89 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8h_\x8a_\x8s_\x8h_\x8__\x8c_\x8o_\x8n_\x8e_\x8s_\x8:_\x8:_\x8m_\x8a_\x8s_\x8k |
86 | int·mask | 90 | int·mask |
87 | number·of·occupied·cells | 91 | number·of·occupied·cells |
88 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8:_\x81_\x80_\x84 | 92 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8:_\x81_\x80_\x84 |
Offset 100, 34 lines modified | Offset 100, 34 lines modified | ||
100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a576d5b2248ca8aca05e69541e9c18de5">index</a>·=·-1;</div> | 100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a576d5b2248ca8aca05e69541e9c18de5">index</a>·=·-1;</div> |
101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}</div> | 101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>}</div> |
102 | </div> | 102 | </div> |
103 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 103 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
104 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//·ctor·with·initialisation</span></div> | 104 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span><span·class="comment">//·ctor·with·initialisation</span></div> |
105 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//--------------------------</span></div> | 105 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span><span·class="comment">//--------------------------</span></div> |
106 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> | 106 | <div·class="foldopen"·id="foldopen00052"·data-start="{"·data-end="}"> |
107 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#afa21c053f53f2f4c294f1bab50f8a7b9">···52</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum::Cmomentum</a>(<span·class="keywordtype">double</span>·_px,·<span·class="keywordtype">double</span>·_py,·<span·class="keywordtype">double</span>· | 107 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#afa21c053f53f2f4c294f1bab50f8a7b9">···52</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum::Cmomentum</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_px</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_py</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href=[·...·truncated·by·diffoscope;·len:·153,·SHA:·dd7f767928da1119c6a17c15d3f1d38db70156a0a234c94596da282c2dd19864·...·]){</div> |
108 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">px</a>·=·_px;</div> | 108 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">px</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_px</a>;</div> |
109 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a9190b796e5713de49dfba956cfdbcf20">py</a>·=·_py;</div> | 109 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a9190b796e5713de49dfba956cfdbcf20">py</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_py</a>;</div> |
110 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>·=·_pz;</div> | 110 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_pz</a>;</div> |
111 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>··=·_E;</div> | 111 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>··=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_E</a>;</div> |
112 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 112 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
113 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">//·compute·eta·and·phi</span></div> | 113 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<span·class="comment">//·compute·eta·and·phi</span></div> |
114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">build_etaphi</a>();</div> | 114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">build_etaphi</a>();</div> |
115 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>();</div> | 115 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>();</div> |
116 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>}</div> | 116 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>}</div> |
117 | </div> | 117 | </div> |
118 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 118 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
119 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//·ctor·with·detailed·initialisation</span></div> | 119 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="comment">//·ctor·with·detailed·initialisation</span></div> |
120 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//-----------------------------------</span></div> | 120 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="comment">//-----------------------------------</span></div> |
121 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> | 121 | <div·class="foldopen"·id="foldopen00065"·data-start="{"·data-end="}"> |
122 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a01b661661e0c52e499036992bca722f6">···65</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum::Cmomentum</a>(<span·class="keywordtype">double</span>·_eta,·<span·class="keywordtype">double</span>·_phi,·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·_ref){</div> | 122 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a01b661661e0c52e499036992bca722f6">···65</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum::Cmomentum</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_eta</a>,·<span·class="keywordtype">double</span>·_phi,·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_class"·href="classsiscone_1_1circulator[·...·truncated·by·diffoscope;·len:·15,·SHA:·49ceef9a97e854a17d2c0f561a5291771355702f0f0fc7f7295ed34acb03ab26·...·]){</div> |
123 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>·=·_eta;</div> | 123 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_eta</a>;</div> |
124 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>·=·_phi;</div> | 124 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>·=·_phi;</div> |
125 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 125 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
126 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>·=·_ref;</div> | 126 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_ref</a>;</div> |
127 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}</div> | 127 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>}</div> |
128 | </div> | 128 | </div> |
129 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 129 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
130 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//·default·dtor</span></div> | 130 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span><span·class="comment">//·default·dtor</span></div> |
131 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//--------------</span></div> | 131 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//--------------</span></div> |
132 | <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}"> | 132 | <div·class="foldopen"·id="foldopen00074"·data-start="{"·data-end="}"> |
133 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a16c22242813f23a6ed9a0f125b7d7abd">···74</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a16c22242813f23a6ed9a0f125b7d7abd">Cmomentum::~Cmomentum</a>(){</div> | 133 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a16c22242813f23a6ed9a0f125b7d7abd">···74</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a16c22242813f23a6ed9a0f125b7d7abd">Cmomentum::~Cmomentum</a>(){</div> |
Offset 153, 16 lines modified | Offset 153, 16 lines modified | ||
153 | </div> | 153 | </div> |
154 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> | 154 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>·</div> |
155 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="comment">//·addition·of·vectors</span></div> | 155 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span><span·class="comment">//·addition·of·vectors</span></div> |
156 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment">//·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!!</span></div> | 156 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment">//·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!!</span></div> |
157 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="comment">//------------------------------------------------</span></div> | 157 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="comment">//------------------------------------------------</span></div> |
158 | <div·class="foldopen"·id="foldopen00096"·data-start="{"·data-end="}"> | 158 | <div·class="foldopen"·id="foldopen00096"·data-start="{"·data-end="}"> |
159 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a360ee2ded69dddaaa3fac38ffdd6d39e">···96</a></span><span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a360ee2ded69dddaaa3fac38ffdd6d39e">Cmomentum::operator·+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v){</div> | 159 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a360ee2ded69dddaaa3fac38ffdd6d39e">···96</a></span><span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a360ee2ded69dddaaa3fac38ffdd6d39e">Cmomentum::operator·+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v){</div> |
160 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·tmp·=·*<span·class="keyword">this</span>;</div> | 160 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">tmp</a>·=·*<span·class="keyword">this</span>;</div> |
161 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keywordflow">return</span>·tmp+=v;</div> | 161 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">tmp</a>+=v;</div> |
162 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>}</div> | 162 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>}</div> |
163 | </div> | 163 | </div> |
164 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | 164 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> |
165 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">//·incrementation·of·vectors</span></div> | 165 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">//·incrementation·of·vectors</span></div> |
166 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="comment">//·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!!</span></div> | 166 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="comment">//·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!!</span></div> |
167 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="comment">//------------------------------------------------</span></div> | 167 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span><span·class="comment">//------------------------------------------------</span></div> |
168 | <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}"> | 168 | <div·class="foldopen"·id="foldopen00104"·data-start="{"·data-end="}"> |
Offset 198, 25 lines modified | Offset 198, 25 lines modified | ||
198 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="comment">//·!!!·computing·eta·and·phi·is·time-consuming··!!!</span></div> | 198 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="comment">//·!!!·computing·eta·and·phi·is·time-consuming··!!!</span></div> |
199 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span><span·class="comment">//·!!!·use·this·whenever·you·need·eta·or·phi····!!!</span></div> | 199 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span><span·class="comment">//·!!!·use·this·whenever·you·need·eta·or·phi····!!!</span></div> |
200 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span><span·class="comment">//·!!!·automatically·called·for·single-particle·!!!</span></div> | 200 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span><span·class="comment">//·!!!·automatically·called·for·single-particle·!!!</span></div> |
201 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span><span·class="comment">//--------------------------------------------------</span></div> | 201 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span><span·class="comment">//--------------------------------------------------</span></div> |
202 | <div·class="foldopen"·id="foldopen00134"·data-start="{"·data-end="}"> | 202 | <div·class="foldopen"·id="foldopen00134"·data-start="{"·data-end="}"> |
203 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">··134</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">Cmomentum::build_etaphi</a>(){</div> | 203 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">··134</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a8ead2d0c45ffa8e51fb5ebad4822950e">Cmomentum::build_etaphi</a>(){</div> |
204 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··<span·class="comment">//·note:·the·factor·n·(ref.nb)·cancels·in·all·expressions·!!</span></div> | 204 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>··<span·class="comment">//·note:·the·factor·n·(ref.nb)·cancels·in·all·expressions·!!</span></div> |
205 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>·=·0.5*log((<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>)/(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>-<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>));</div> | 205 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>·=·0.5*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">log</a>((<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>)/(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>-<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>));</div> |
206 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>·=·atan2(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a9190b796e5713de49dfba956cfdbcf20">py</a>,<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">px</a>);</div> | 206 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">atan2</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a9190b796e5713de49dfba956cfdbcf20">py</a>,<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">px</a>);</div> |
207 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>}</div> | 207 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>}</div> |
208 | </div> | 208 | </div> |
209 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> | 209 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> |
210 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> | 210 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>·</div> |
211 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span><span·class="comment">//·ordering·of·two·vectors</span></div> | 211 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span><span·class="comment">//·ordering·of·two·vectors</span></div> |
212 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span><span·class="comment">//·the·default·ordering·is·w.r.t.·their·references</span></div> | 212 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span><span·class="comment">//·the·default·ordering·is·w.r.t.·their·references</span></div> |
213 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span><span·class="comment">//-------------------------------------------------</span></div> | 213 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span><span·class="comment">//-------------------------------------------------</span></div> |
214 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span><span·class="keywordtype">bool</span>·operator·<·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·& | 214 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span><span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">operator·<·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulato[·...·truncated·by·diffoscope;·len:·203,·SHA:·76cee1a91529aff70cd1b96d36bf8174039cd3efb507fcdfa5b8036a89128d89·...·]){</div> |
215 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··<span·class="keywordflow">return</span>· | 215 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v1</a>.ref·<·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v2</a>.ref;</div> |
216 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>}</div> | 216 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>}</div> |
217 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> | 217 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> |
218 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span><span·class="comment">//·ordering·of·vectors·in·eta·(e.g.·used·in·collinear·tests)</span></div> | 218 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span><span·class="comment">//·ordering·of·vectors·in·eta·(e.g.·used·in·collinear·tests)</span></div> |
219 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span><span·class="comment">//-----------------------------------------------------------</span></div> | 219 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span><span·class="comment">//-----------------------------------------------------------</span></div> |
220 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span><span·class="keywordtype">bool</span>·momentum_eta_less(<span·class="keyword">const</span>·Cmomentum·&v1,·<span·class="keyword">const</span>·Cmomentum·&v2){</div> | 220 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span><span·class="keywordtype">bool</span>·momentum_eta_less(<span·class="keyword">const</span>·Cmomentum·&v1,·<span·class="keyword">const</span>·Cmomentum·&v2){</div> |
221 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··<span·class="keywordflow">return</span>·v1.eta·<·v2.eta;</div> | 221 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>··<span·class="keywordflow">return</span>·v1.eta·<·v2.eta;</div> |
222 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>}</div> | 222 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>}</div> |
Offset 242, 14 lines modified | Offset 242, 15 lines modified | ||
242 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_aa7fd6b3c50e92675b8b6aebb6abfebcc"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">siscone::Cmomentum::px</a></div><div·class="ttdeci">double·px</div><div·class="ttdoc">x-momentum</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00109">momentum.h:109</a></div></div> | 242 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_aa7fd6b3c50e92675b8b6aebb6abfebcc"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">siscone::Cmomentum::px</a></div><div·class="ttdeci">double·px</div><div·class="ttdoc">x-momentum</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00109">momentum.h:109</a></div></div> |
243 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_aae97cbb505dcc1fe10608c6580e7e28c"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#aae97cbb505dcc1fe10608c6580e7e28c">siscone::Cmomentum::operator=</a></div><div·class="ttdeci">Cmomentum·&·operator=(const·Cmomentum·&v)</div><div·class="ttdoc">assignment·of·vectors</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8cpp_source.html#l00080">momentum.cpp:80</a></div></div> | 243 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_aae97cbb505dcc1fe10608c6580e7e28c"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#aae97cbb505dcc1fe10608c6580e7e28c">siscone::Cmomentum::operator=</a></div><div·class="ttdeci">Cmomentum·&·operator=(const·Cmomentum·&v)</div><div·class="ttdoc">assignment·of·vectors</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8cpp_source.html#l00080">momentum.cpp:80</a></div></div> |
244 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_aafd04c189605f6d7c3b1cdcfefd341e9"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">siscone::Cmomentum::E</a></div><div·class="ttdeci">double·E</div><div·class="ttdoc">energy</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00112">momentum.h:112</a></div></div> | 244 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_aafd04c189605f6d7c3b1cdcfefd341e9"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">siscone::Cmomentum::E</a></div><div·class="ttdeci">double·E</div><div·class="ttdoc">energy</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00112">momentum.h:112</a></div></div> |
245 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_abd23b026153cdf84ad5a2aecf42f5dac"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">siscone::Cmomentum::pz</a></div><div·class="ttdeci">double·pz</div><div·class="ttdoc">z-momentum</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00111">momentum.h:111</a></div></div> | 245 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_abd23b026153cdf84ad5a2aecf42f5dac"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">siscone::Cmomentum::pz</a></div><div·class="ttdeci">double·pz</div><div·class="ttdoc">z-momentum</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00111">momentum.h:111</a></div></div> |
246 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_adde12311952a22cda3a33a80e7f78fca"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">siscone::Cmomentum::Cmomentum</a></div><div·class="ttdeci">Cmomentum()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8cpp_source.html#l00042">momentum.cpp:42</a></div></div> | 246 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_adde12311952a22cda3a33a80e7f78fca"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">siscone::Cmomentum::Cmomentum</a></div><div·class="ttdeci">Cmomentum()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8cpp_source.html#l00042">momentum.cpp:42</a></div></div> |
247 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_ae16f3eee4a19315fc0ced5cde2c265a6"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">siscone::Cmomentum::phi</a></div><div·class="ttdeci">double·phi</div><div·class="ttdoc">particle·azimuthal·angle</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00115">momentum.h:115</a></div></div> | 247 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_ae16f3eee4a19315fc0ced5cde2c265a6"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">siscone::Cmomentum::phi</a></div><div·class="ttdeci">double·phi</div><div·class="ttdoc">particle·azimuthal·angle</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00115">momentum.h:115</a></div></div> |
248 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> | 248 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> |
249 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
249 | </div><!--·fragment·--></div><!--·contents·--> | 250 | </div><!--·fragment·--></div><!--·contents·--> |
250 | <!--·start·footer·part·--> | 251 | <!--·start·footer·part·--> |
251 | <hr·class="footer"/><address·class="footer"><small> | 252 | <hr·class="footer"/><address·class="footer"><small> |
252 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 253 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
253 | </small></address> | 254 | </small></address> |
254 | </body> | 255 | </body> |
255 | </html> | 256 | </html> |
Offset 48, 32 lines modified | Offset 48, 32 lines modified | ||
48 | 45·_\x8p_\x8x·=·_\x8p_\x8y·=·_\x8p_\x8z·=·_\x8E·=·0.0; | 48 | 45·_\x8p_\x8x·=·_\x8p_\x8y·=·_\x8p_\x8z·=·_\x8E·=·0.0; |
49 | 46·_\x8r_\x8e_\x8f·=·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e(); | 49 | 46·_\x8r_\x8e_\x8f·=·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e(); |
50 | 47·_\x8i_\x8n_\x8d_\x8e_\x8x·=·-1; | 50 | 47·_\x8i_\x8n_\x8d_\x8e_\x8x·=·-1; |
51 | 48} | 51 | 48} |
52 | 49 | 52 | 49 |
53 | 50//·ctor·with·initialisation | 53 | 50//·ctor·with·initialisation |
54 | 51//-------------------------- | 54 | 51//-------------------------- |
55 | _\x85_\x82_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(double·_px,·double·_py,·double·_pz,·double·_E){ | 55 | _\x85_\x82_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(double·_.__.p_.x,·double·_.__.p_.y,·double·_.__.p_.z,·double·_.__.E){ |
56 | 53·_\x8p_\x8x·=·_px; | 56 | 53·_\x8p_\x8x·=·_.__.p_.x; |
57 | 54·_\x8p_\x8y·=·_py; | 57 | 54·_\x8p_\x8y·=·_.__.p_.y; |
58 | 55·_\x8p_\x8z·=·_pz; | 58 | 55·_\x8p_\x8z·=·_.__.p_.z; |
59 | 56·_\x8E·=·_E; | 59 | 56·_\x8E·=·_.__.E; |
60 | 57 | 60 | 57 |
61 | 58·//·compute·eta·and·phi | 61 | 58·//·compute·eta·and·phi |
62 | 59·_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i(); | 62 | 59·_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i(); |
63 | 60·_\x8r_\x8e_\x8f·=·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e(); | 63 | 60·_\x8r_\x8e_\x8f·=·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e(); |
64 | 61} | 64 | 61} |
65 | 62 | 65 | 62 |
66 | 63//·ctor·with·detailed·initialisation | 66 | 63//·ctor·with·detailed·initialisation |
67 | 64//----------------------------------- | 67 | 64//----------------------------------- |
68 | _\x86_\x85_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(double·_eta,·double·_phi,·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·_ref){ | 68 | _\x86_\x85_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(double·_.__.e_.t_.a,·double·_phi,·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·_.__.r_.e_.f){ |
69 | 66·_\x8e_\x8t_\x8a·=·_eta; | 69 | 66·_\x8e_\x8t_\x8a·=·_.__.e_.t_.a; |
70 | 67·_\x8p_\x8h_\x8i·=·_phi; | 70 | 67·_\x8p_\x8h_\x8i·=·_phi; |
71 | 68 | 71 | 68 |
72 | 69·_\x8r_\x8e_\x8f·=·_ref; | 72 | 69·_\x8r_\x8e_\x8f·=·_.__.r_.e_.f; |
73 | 70} | 73 | 70} |
74 | 71 | 74 | 71 |
75 | 72//·default·dtor | 75 | 72//·default·dtor |
76 | 73//-------------- | 76 | 73//-------------- |
77 | _\x87_\x84_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8~_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(){ | 77 | _\x87_\x84_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8~_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(){ |
78 | 75 | 78 | 75 |
79 | 76} | 79 | 76} |
Offset 93, 16 lines modified | Offset 93, 16 lines modified | ||
93 | 90·return·*this; | 93 | 90·return·*this; |
94 | 91} | 94 | 91} |
95 | 92 | 95 | 92 |
96 | 93//·addition·of·vectors | 96 | 93//·addition·of·vectors |
97 | 94//·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!! | 97 | 94//·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!! |
98 | 95//------------------------------------------------ | 98 | 95//------------------------------------------------ |
99 | _\x89_\x86const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8·(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v){ | 99 | _\x89_\x86const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8·(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v){ |
100 | 97·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·tmp·=·*this; | 100 | 97·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·_.t_.m_.p·=·*this; |
101 | 98·return·tmp+=v; | 101 | 98·return·_.t_.m_.p+=v; |
102 | 99} | 102 | 99} |
103 | 100 | 103 | 100 |
104 | 101//·incrementation·of·vectors | 104 | 101//·incrementation·of·vectors |
105 | 102//·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!! | 105 | 102//·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!! |
106 | 103//------------------------------------------------ | 106 | 103//------------------------------------------------ |
107 | _\x81_\x80_\x84_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m&·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8=_\x8·(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v){ | 107 | _\x81_\x80_\x84_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m&·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8=_\x8·(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v){ |
108 | 105·_\x8p_\x8x+=v._\x8p_\x8x; | 108 | 105·_\x8p_\x8x+=v._\x8p_\x8x; |
Offset 132, 24 lines modified | Offset 132, 24 lines modified | ||
132 | 129//·!!!·WARNING·!!! | 132 | 129//·!!!·WARNING·!!! |
133 | 130//·!!!·computing·eta·and·phi·is·time-consuming·!!! | 133 | 130//·!!!·computing·eta·and·phi·is·time-consuming·!!! |
134 | 131//·!!!·use·this·whenever·you·need·eta·or·phi·!!! | 134 | 131//·!!!·use·this·whenever·you·need·eta·or·phi·!!! |
135 | 132//·!!!·automatically·called·for·single-particle·!!! | 135 | 132//·!!!·automatically·called·for·single-particle·!!! |
136 | 133//-------------------------------------------------- | 136 | 133//-------------------------------------------------- |
137 | _\x81_\x83_\x84void·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i(){ | 137 | _\x81_\x83_\x84void·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8b_\x8u_\x8i_\x8l_\x8d_\x8__\x8e_\x8t_\x8a_\x8p_\x8h_\x8i(){ |
138 | 135·//·note:·the·factor·n·(ref.nb)·cancels·in·all·expressions·!! | 138 | 135·//·note:·the·factor·n·(ref.nb)·cancels·in·all·expressions·!! |
139 | 136·_\x8e_\x8t_\x8a·=·0.5*log((_\x8E+_\x8p_\x8z)/(_\x8E-_\x8p_\x8z)); | 139 | 136·_\x8e_\x8t_\x8a·=·0.5*_.l_.o_.g((_\x8E+_\x8p_\x8z)/(_\x8E-_\x8p_\x8z)); |
140 | 137·_\x8p_\x8h_\x8i·=·atan2(_\x8p_\x8y,_\x8p_\x8x); | 140 | 137·_\x8p_\x8h_\x8i·=·_.a_.t_.a_.n_.2(_\x8p_\x8y,_\x8p_\x8x); |
141 | 138} | 141 | 138} |
142 | 139 | 142 | 139 |
143 | 140 | 143 | 140 |
144 | 141//·ordering·of·two·vectors | 144 | 141//·ordering·of·two·vectors |
145 | 142//·the·default·ordering·is·w.r.t.·their·references | 145 | 142//·the·default·ordering·is·w.r.t.·their·references |
146 | 143//------------------------------------------------- | 146 | 143//------------------------------------------------- |
147 | 144bool·operator·<·(const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&v1,·const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&v2){ | 147 | 144bool·_.o_.p_.e_.r_.a_.t_.o_.r_.·_.<_.·(const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&_.v_.1,·const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&_.v_.2){ |
148 | 145·return· | 148 | 145·return·_.v_.1.ref·<·_.v_.2.ref; |
149 | 146} | 149 | 146} |
150 | 147 | 150 | 147 |
151 | 148//·ordering·of·vectors·in·eta·(e.g.·used·in·collinear·tests) | 151 | 148//·ordering·of·vectors·in·eta·(e.g.·used·in·collinear·tests) |
152 | 149//----------------------------------------------------------- | 152 | 149//----------------------------------------------------------- |
153 | 150bool·momentum_eta_less(const·Cmomentum·&v1,·const·Cmomentum·&v2){ | 153 | 150bool·momentum_eta_less(const·Cmomentum·&v1,·const·Cmomentum·&v2){ |
154 | 151·return·v1.eta·<·v2.eta; | 154 | 151·return·v1.eta·<·v2.eta; |
155 | 152} | 155 | 152} |
Offset 225, 9 lines modified | Offset 225, 13 lines modified | ||
225 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8p_\x8h_\x8i | 225 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8p_\x8h_\x8i |
226 | double·phi | 226 | double·phi |
227 | particle·azimuthal·angle | 227 | particle·azimuthal·angle |
228 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8._\x8h_\x8:_\x81_\x81_\x85 | 228 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8._\x8h_\x8:_\x81_\x81_\x85 |
229 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e | 229 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e |
230 | references·used·for·checksums. | 230 | references·used·for·checksums. |
231 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x83 | 231 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x83 |
232 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
233 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
234 | iterator; | ||
235 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
232 | =============================================================================== | 236 | =============================================================================== |
233 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 237 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 88, 33 lines modified | Offset 88, 33 lines modified | ||
88 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>siscone{</div> | 88 | <div·class="line"><a·id="l00037"·name="l00037"></a><span·class="lineno">···37</span><span·class="keyword">namespace·</span>siscone{</div> |
89 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> | 89 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno">···38</span>·</div> |
90 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};"> | 90 | <div·class="foldopen"·id="foldopen00049"·data-start="{"·data-end="};"> |
91 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html">···49</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>{</div> | 91 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html">···49</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>{</div> |
92 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·<span·class="keyword">public</span>:</div> | 92 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·<span·class="keyword">public</span>:</div> |
93 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum</a>();</div> | 93 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum</a>();</div> |
94 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 94 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
95 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum</a>(<span·class="keywordtype">double</span>·_px,·<span·class="keywordtype">double</span>·_py,·<span·class="keywordtype">double</span>· | 95 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_px</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_py</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href=[·...·truncated·by·diffoscope;·len:·153,·SHA:·dd7f767928da1119c6a17c15d3f1d38db70156a0a234c94596da282c2dd19864·...·]);</div> |
96 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 96 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
97 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum</a>(<span·class="keywordtype">double</span>·_eta,·<span·class="keywordtype">double</span>·_phi,·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·_ref);</div> | 97 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">Cmomentum</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_eta</a>,·<span·class="keywordtype">double</span>·_phi,·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_class"·href="classsiscone_1_1circulator[·...·truncated·by·diffoscope;·len:·15,·SHA:·49ceef9a97e854a17d2c0f561a5291771355702f0f0fc7f7295ed34acb03ab26·...·]);</div> |
98 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 98 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
99 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a16c22242813f23a6ed9a0f125b7d7abd">~Cmomentum</a>();</div> | 99 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a16c22242813f23a6ed9a0f125b7d7abd">~Cmomentum</a>();</div> |
100 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 100 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
101 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#add1b17442a178a6568d1b06fbe9b793d">···64</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#add1b17442a178a6568d1b06fbe9b793d">perp</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·sqrt(<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>());}</div> | 101 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#add1b17442a178a6568d1b06fbe9b793d">···64</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#add1b17442a178a6568d1b06fbe9b793d">perp</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">sqrt</a>(<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>());}</div> |
102 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 102 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
103 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">···67</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">px</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">px</a>+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a9190b796e5713de49dfba956cfdbcf20">py</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a9190b796e5713de49dfba956cfdbcf20">py</a>;}</div> | 103 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">···67</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">px</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aa7fd6b3c50e92675b8b6aebb6abfebcc">px</a>+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a9190b796e5713de49dfba956cfdbcf20">py</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a9190b796e5713de49dfba956cfdbcf20">py</a>;}</div> |
104 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 104 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
105 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#aa4076d4153bb9c0aada6b9cacfa5ed1a">···70</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#aa4076d4153bb9c0aada6b9cacfa5ed1a">mass</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·sqrt(<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a240698e9f37df32aa40debaf288e9f3f">mass2</a>());}</div> | 105 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#aa4076d4153bb9c0aada6b9cacfa5ed1a">···70</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#aa4076d4153bb9c0aada6b9cacfa5ed1a">mass</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">sqrt</a>(<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a240698e9f37df32aa40debaf288e9f3f">mass2</a>());}</div> |
106 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 106 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
107 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a240698e9f37df32aa40debaf288e9f3f">···73</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a240698e9f37df32aa40debaf288e9f3f">mass2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a44cf8eea638810df8b11af4dc46dd847">perpmass2</a>()-<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>();}</div> | 107 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a240698e9f37df32aa40debaf288e9f3f">···73</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a240698e9f37df32aa40debaf288e9f3f">mass2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a44cf8eea638810df8b11af4dc46dd847">perpmass2</a>()-<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>();}</div> |
108 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | 108 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
109 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#afdd21fe6f5204525075289ccf84a5c05">···76</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#afdd21fe6f5204525075289ccf84a5c05">perpmass</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·sqrt((<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>-<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>)*(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>));}</div> | 109 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#afdd21fe6f5204525075289ccf84a5c05">···76</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#afdd21fe6f5204525075289ccf84a5c05">perpmass</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">sqrt</a>((<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>-<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>)*(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>));}</div> |
110 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 110 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
111 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a44cf8eea638810df8b11af4dc46dd847">···79</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a44cf8eea638810df8b11af4dc46dd847">perpmass2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>-<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>)*(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>);}</div> | 111 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a44cf8eea638810df8b11af4dc46dd847">···79</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a44cf8eea638810df8b11af4dc46dd847">perpmass2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>-<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>)*(<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>);}</div> |
112 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 112 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
113 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a6c43da7342a702be8a144f2ac2cf5e74">···82</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a6c43da7342a702be8a144f2ac2cf5e74">Et</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>/sqrt(1.0+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>/<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>());}</div> | 113 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a6c43da7342a702be8a144f2ac2cf5e74">···82</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a6c43da7342a702be8a144f2ac2cf5e74">Et</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>/<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">sqrt</a>(1.0+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>/<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>());}</div> |
114 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 114 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
115 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a0e4f490212b21d1e3c3d673841f79ed9">···85</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a0e4f490212b21d1e3c3d673841f79ed9">Et2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>/(1.0+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>/<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>());}</div> | 115 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a0e4f490212b21d1e3c3d673841f79ed9">···85</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a0e4f490212b21d1e3c3d673841f79ed9">Et2</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">E</a>/(1.0+<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>*<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">pz</a>/<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a34906f9aa7e76de7c9b3f599528c77aa">perp2</a>());}</div> |
116 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | 116 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
117 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#aae97cbb505dcc1fe10608c6580e7e28c">operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v);</div> | 117 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#aae97cbb505dcc1fe10608c6580e7e28c">operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v);</div> |
118 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | 118 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
119 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a360ee2ded69dddaaa3fac38ffdd6d39e">operator·+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v);</div> | 119 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·<a·class="code·hl_function"·href="classsiscone_1_1Cmomentum.html#a360ee2ded69dddaaa3fac38ffdd6d39e">operator·+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v);</div> |
120 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | 120 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
Offset 135, 32 lines modified | Offset 135, 32 lines modified | ||
135 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a576d5b2248ca8aca05e69541e9c18de5">··117</a></span>··<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a576d5b2248ca8aca05e69541e9c18de5">index</a>;········</div> | 135 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a576d5b2248ca8aca05e69541e9c18de5">··117</a></span>··<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a576d5b2248ca8aca05e69541e9c18de5">index</a>;········</div> |
136 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> | 136 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> |
137 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="comment">//·the·following·part·is·used·for·checksums·//</span></div> | 137 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="comment">//·the·following·part·is·used·for·checksums·//</span></div> |
138 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">··122</a></span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>;···</div> | 138 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">··122</a></span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a44980853567f863ca4178926f5f83444">ref</a>;···</div> |
139 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>};</div> | 139 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>};</div> |
140 | </div> | 140 | </div> |
141 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> | 141 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> |
142 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keywordtype">bool</span>·operator·<·(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·& | 142 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span><span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">operator·<·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulato[·...·truncated·by·diffoscope;·len:·203,·SHA:·76cee1a91529aff70cd1b96d36bf8174039cd3efb507fcdfa5b8036a89128d89·...·]);</div> |
143 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> | 143 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>·</div> |
144 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="keywordtype">bool</span>·momentum_eta_less(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v1,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v2);</div> | 144 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span><span·class="keywordtype">bool</span>·momentum_eta_less(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v1</a>,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v2<[·...·truncated·by·diffoscope;·len:·3,·SHA:·141dcbd495bbfe2b8aa0299f353a88172d1d350a27a19a8409a32f9db0d90e63·...·]);</div> |
145 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> | 145 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>·</div> |
146 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span><span·class="keywordtype">bool</span>·momentum_pt_less(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v1,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&v2);</div> | 146 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span><span·class="keywordtype">bool</span>·momentum_pt_less(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v1</a>,·<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v2<[·...·truncated·by·diffoscope;·len:·3,·SHA:·141dcbd495bbfe2b8aa0299f353a88172d1d350a27a19a8409a32f9db0d90e63·...·]);</div> |
147 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> | 147 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>·</div> |
148 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> | 148 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>·</div> |
149 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="comment">//·some·handy·utilities·//</span></div> | 149 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span><span·class="comment">//·some·handy·utilities·//</span></div> |
150 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> | 150 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>·</div> |
151 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span><span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·get_distance(<span·class="keywordtype">double</span>·eta,·<span·class="keywordtype">double</span>·phi,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v){</div> | 151 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span><span·class="keyword">inline</span>·<span·class="keywordtype">double</span>·get_distance(<span·class="keywordtype">double</span>·eta,·<span·class="keywordtype">double</span>·phi,·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v){</div> |
152 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··<span·class="keywordtype">double</span>·dx,·dy;</div> | 152 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>··<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dx</a>,·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dy</a>;</div> |
153 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> | 153 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>·</div> |
154 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··dx·=·eta·-·v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>;</div> | 154 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dx</a>·=·eta·-·v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>;</div> |
155 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··dy·=·fabs(phi·-·v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>);</div> | 155 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>··<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dy</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">fabs</a>(phi·-·v-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>);</div> |
156 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<span·class="keywordflow">if</span>·(dy>M_PI)·</div> | 156 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dy</a>>M_PI)·</div> |
157 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····dy·-=·<a·class="code·hl_variable"·href="defines_8h.html#ad996edbbc287b4e5f3dd072a10bd6122">twopi</a>;</div> | 157 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dy</a>·-=·<a·class="code·hl_variable"·href="defines_8h.html#ad996edbbc287b4e5f3dd072a10bd6122">twopi</a>;</div> |
158 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> | 158 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>·</div> |
159 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>··<span·class="keywordflow">return</span>·dx*dx+dy*dy;</div> | 159 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dx</a>*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dx</a>+<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">dy</a>*<a·class="code·hl_class"·href="classsiscone[·...·truncated·by·diffoscope;·len:·27,·SHA:·f02bc63f0ece03aef6b4efb56b460d3ea569721baab39c52fe9adbbc080bf256·...·];</div> |
160 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>}</div> | 160 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>}</div> |
161 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> | 161 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>·</div> |
162 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>}</div> | 162 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>}</div> |
163 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> | 163 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> |
164 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span><span·class="preprocessor">#endif</span></div> | 164 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span><span·class="preprocessor">#endif</span></div> |
165 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html">siscone::Cmomentum</a></div><div·class="ttdoc">base·class·for·dynamic·coordinates·management</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00049">momentum.h:49</a></div></div> | 165 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html">siscone::Cmomentum</a></div><div·class="ttdoc">base·class·for·dynamic·coordinates·management</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00049">momentum.h:49</a></div></div> |
166 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_a069a558ea347fb2961e86347cad68385"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#a069a558ea347fb2961e86347cad68385">siscone::Cmomentum::operator+=</a></div><div·class="ttdeci">Cmomentum·&·operator+=(const·Cmomentum·&v)</div><div·class="ttdoc">incrementation·of·vectors·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!!</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8cpp_source.html#l00104">momentum.cpp:104</a></div></div> | 166 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_a069a558ea347fb2961e86347cad68385"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#a069a558ea347fb2961e86347cad68385">siscone::Cmomentum::operator+=</a></div><div·class="ttdeci">Cmomentum·&·operator+=(const·Cmomentum·&v)</div><div·class="ttdoc">incrementation·of·vectors·!!!·WARNING·!!!·no·updating·of·eta·and·phi·!!!</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8cpp_source.html#l00104">momentum.cpp:104</a></div></div> |
Offset 184, 14 lines modified | Offset 184, 15 lines modified | ||
184 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_aafd04c189605f6d7c3b1cdcfefd341e9"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">siscone::Cmomentum::E</a></div><div·class="ttdeci">double·E</div><div·class="ttdoc">energy</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00112">momentum.h:112</a></div></div> | 184 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_aafd04c189605f6d7c3b1cdcfefd341e9"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#aafd04c189605f6d7c3b1cdcfefd341e9">siscone::Cmomentum::E</a></div><div·class="ttdeci">double·E</div><div·class="ttdoc">energy</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00112">momentum.h:112</a></div></div> |
185 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_abd23b026153cdf84ad5a2aecf42f5dac"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">siscone::Cmomentum::pz</a></div><div·class="ttdeci">double·pz</div><div·class="ttdoc">z-momentum</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00111">momentum.h:111</a></div></div> | 185 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_abd23b026153cdf84ad5a2aecf42f5dac"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#abd23b026153cdf84ad5a2aecf42f5dac">siscone::Cmomentum::pz</a></div><div·class="ttdeci">double·pz</div><div·class="ttdoc">z-momentum</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00111">momentum.h:111</a></div></div> |
186 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_add1b17442a178a6568d1b06fbe9b793d"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#add1b17442a178a6568d1b06fbe9b793d">siscone::Cmomentum::perp</a></div><div·class="ttdeci">double·perp()·const</div><div·class="ttdoc">computes·pT</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00064">momentum.h:64</a></div></div> | 186 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_add1b17442a178a6568d1b06fbe9b793d"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#add1b17442a178a6568d1b06fbe9b793d">siscone::Cmomentum::perp</a></div><div·class="ttdeci">double·perp()·const</div><div·class="ttdoc">computes·pT</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00064">momentum.h:64</a></div></div> |
187 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_adde12311952a22cda3a33a80e7f78fca"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">siscone::Cmomentum::Cmomentum</a></div><div·class="ttdeci">Cmomentum()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8cpp_source.html#l00042">momentum.cpp:42</a></div></div> | 187 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_adde12311952a22cda3a33a80e7f78fca"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#adde12311952a22cda3a33a80e7f78fca">siscone::Cmomentum::Cmomentum</a></div><div·class="ttdeci">Cmomentum()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8cpp_source.html#l00042">momentum.cpp:42</a></div></div> |
188 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_ae16f3eee4a19315fc0ced5cde2c265a6"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">siscone::Cmomentum::phi</a></div><div·class="ttdeci">double·phi</div><div·class="ttdoc">particle·azimuthal·angle</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00115">momentum.h:115</a></div></div> | 188 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_ae16f3eee4a19315fc0ced5cde2c265a6"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">siscone::Cmomentum::phi</a></div><div·class="ttdeci">double·phi</div><div·class="ttdoc">particle·azimuthal·angle</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00115">momentum.h:115</a></div></div> |
189 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_afdd21fe6f5204525075289ccf84a5c05"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#afdd21fe6f5204525075289ccf84a5c05">siscone::Cmomentum::perpmass</a></div><div·class="ttdeci">double·perpmass()·const</div><div·class="ttdoc">transverse·mass,·mt·=·sqrt(pt^2+m^2)·=·sqrt(E^2·-·pz^2)</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00076">momentum.h:76</a></div></div> | 189 | <div·class="ttc"·id="aclasssiscone_1_1Cmomentum_html_afdd21fe6f5204525075289ccf84a5c05"><div·class="ttname"><a·href="classsiscone_1_1Cmomentum.html#afdd21fe6f5204525075289ccf84a5c05">siscone::Cmomentum::perpmass</a></div><div·class="ttdeci">double·perpmass()·const</div><div·class="ttdoc">transverse·mass,·mt·=·sqrt(pt^2+m^2)·=·sqrt(E^2·-·pz^2)</div><div·class="ttdef"><b>Definition</b>·<a·href="momentum_8h_source.html#l00076">momentum.h:76</a></div></div> |
190 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> | 190 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> |
191 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
191 | <div·class="ttc"·id="adefines_8h_html"><div·class="ttname"><a·href="defines_8h.html">defines.h</a></div></div> | 192 | <div·class="ttc"·id="adefines_8h_html"><div·class="ttname"><a·href="defines_8h.html">defines.h</a></div></div> |
192 | <div·class="ttc"·id="adefines_8h_html_ad996edbbc287b4e5f3dd072a10bd6122"><div·class="ttname"><a·href="defines_8h.html#ad996edbbc287b4e5f3dd072a10bd6122">twopi</a></div><div·class="ttdeci">const·double·twopi</div><div·class="ttdoc">definition·of·2*M_PI·which·is·useful·a·bit·everyhere!</div><div·class="ttdef"><b>Definition</b>·<a·href="defines_8h_source.html#l00114">defines.h:114</a></div></div> | 193 | <div·class="ttc"·id="adefines_8h_html_ad996edbbc287b4e5f3dd072a10bd6122"><div·class="ttname"><a·href="defines_8h.html#ad996edbbc287b4e5f3dd072a10bd6122">twopi</a></div><div·class="ttdeci">const·double·twopi</div><div·class="ttdoc">definition·of·2*M_PI·which·is·useful·a·bit·everyhere!</div><div·class="ttdef"><b>Definition</b>·<a·href="defines_8h_source.html#l00114">defines.h:114</a></div></div> |
193 | </div><!--·fragment·--></div><!--·contents·--> | 194 | </div><!--·fragment·--></div><!--·contents·--> |
194 | <!--·start·footer·part·--> | 195 | <!--·start·footer·part·--> |
195 | <hr·class="footer"/><address·class="footer"><small> | 196 | <hr·class="footer"/><address·class="footer"><small> |
196 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 197 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
197 | </small></address> | 198 | </small></address> |
Offset 38, 33 lines modified | Offset 38, 33 lines modified | ||
38 | 36 | 38 | 36 |
39 | 37namespace·siscone{ | 39 | 37namespace·siscone{ |
40 | 38 | 40 | 38 |
41 | _\x84_\x89class·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m{ | 41 | _\x84_\x89class·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m{ |
42 | 50·public: | 42 | 50·public: |
43 | 52·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(); | 43 | 52·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(); |
44 | 53 | 44 | 53 |
45 | 55·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(double·_px,·double·_py,·double·_pz,·double·_E); | 45 | 55·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(double·_.__.p_.x,·double·_.__.p_.y,·double·_.__.p_.z,·double·_.__.E); |
46 | 56 | 46 | 56 |
47 | 58·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(double·_eta,·double·_phi,·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·_ref); | 47 | 58·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(double·_.__.e_.t_.a,·double·_phi,·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·_.__.r_.e_.f); |
48 | 59 | 48 | 59 |
49 | 61·_\x8~_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(); | 49 | 61·_\x8~_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(); |
50 | 62 | 50 | 62 |
51 | _\x86_\x84·inline·double·_\x8p_\x8e_\x8r_\x8p()·const·{return·sqrt(_\x8p_\x8e_\x8r_\x8p_\x82());} | 51 | _\x86_\x84·inline·double·_\x8p_\x8e_\x8r_\x8p()·const·{return·_.s_.q_.r_.t(_\x8p_\x8e_\x8r_\x8p_\x82());} |
52 | 65 | 52 | 65 |
53 | _\x86_\x87·inline·double·_\x8p_\x8e_\x8r_\x8p_\x82()·const·{return·_\x8p_\x8x*_\x8p_\x8x+_\x8p_\x8y*_\x8p_\x8y;} | 53 | _\x86_\x87·inline·double·_\x8p_\x8e_\x8r_\x8p_\x82()·const·{return·_\x8p_\x8x*_\x8p_\x8x+_\x8p_\x8y*_\x8p_\x8y;} |
54 | 68 | 54 | 68 |
55 | _\x87_\x80·inline·double·_\x8m_\x8a_\x8s_\x8s()·const·{return·sqrt(_\x8m_\x8a_\x8s_\x8s_\x82());} | 55 | _\x87_\x80·inline·double·_\x8m_\x8a_\x8s_\x8s()·const·{return·_.s_.q_.r_.t(_\x8m_\x8a_\x8s_\x8s_\x82());} |
56 | 71 | 56 | 71 |
57 | _\x87_\x83·inline·double·_\x8m_\x8a_\x8s_\x8s_\x82()·const·{return·_\x8p_\x8e_\x8r_\x8p_\x8m_\x8a_\x8s_\x8s_\x82()-_\x8p_\x8e_\x8r_\x8p_\x82();} | 57 | _\x87_\x83·inline·double·_\x8m_\x8a_\x8s_\x8s_\x82()·const·{return·_\x8p_\x8e_\x8r_\x8p_\x8m_\x8a_\x8s_\x8s_\x82()-_\x8p_\x8e_\x8r_\x8p_\x82();} |
58 | 74 | 58 | 74 |
59 | _\x87_\x86·inline·double·_\x8p_\x8e_\x8r_\x8p_\x8m_\x8a_\x8s_\x8s()·const·{return·sqrt((_\x8E-_\x8p_\x8z)*(_\x8E+_\x8p_\x8z));} | 59 | _\x87_\x86·inline·double·_\x8p_\x8e_\x8r_\x8p_\x8m_\x8a_\x8s_\x8s()·const·{return·_.s_.q_.r_.t((_\x8E-_\x8p_\x8z)*(_\x8E+_\x8p_\x8z));} |
60 | 77 | 60 | 77 |
61 | _\x87_\x89·inline·double·_\x8p_\x8e_\x8r_\x8p_\x8m_\x8a_\x8s_\x8s_\x82()·const·{return·(_\x8E-_\x8p_\x8z)*(_\x8E+_\x8p_\x8z);} | 61 | _\x87_\x89·inline·double·_\x8p_\x8e_\x8r_\x8p_\x8m_\x8a_\x8s_\x8s_\x82()·const·{return·(_\x8E-_\x8p_\x8z)*(_\x8E+_\x8p_\x8z);} |
62 | 80 | 62 | 80 |
63 | _\x88_\x82·inline·double·_\x8E_\x8t()·const·{return·_\x8E/sqrt(1.0+_\x8p_\x8z*_\x8p_\x8z/_\x8p_\x8e_\x8r_\x8p_\x82());} | 63 | _\x88_\x82·inline·double·_\x8E_\x8t()·const·{return·_\x8E/_.s_.q_.r_.t(1.0+_\x8p_\x8z*_\x8p_\x8z/_\x8p_\x8e_\x8r_\x8p_\x82());} |
64 | 83 | 64 | 83 |
65 | _\x88_\x85·inline·double·_\x8E_\x8t_\x82()·const·{return·_\x8E*_\x8E/(1.0+_\x8p_\x8z*_\x8p_\x8z/_\x8p_\x8e_\x8r_\x8p_\x82());} | 65 | _\x88_\x85·inline·double·_\x8E_\x8t_\x82()·const·{return·_\x8E*_\x8E/(1.0+_\x8p_\x8z*_\x8p_\x8z/_\x8p_\x8e_\x8r_\x8p_\x82());} |
66 | 86 | 66 | 86 |
67 | 88·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v); | 67 | 88·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v); |
68 | 89 | 68 | 89 |
69 | 92·const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8·(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v); | 69 | 92·const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8·(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v); |
70 | 93 | 70 | 93 |
Offset 84, 32 lines modified | Offset 84, 32 lines modified | ||
84 | _\x81_\x81_\x86·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8d_\x8e_\x8x; | 84 | _\x81_\x81_\x86·int·_\x8p_\x8a_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8d_\x8e_\x8x; |
85 | _\x81_\x81_\x87·int·_\x8i_\x8n_\x8d_\x8e_\x8x; | 85 | _\x81_\x81_\x87·int·_\x8i_\x8n_\x8d_\x8e_\x8x; |
86 | 118 | 86 | 118 |
87 | 120·//·the·following·part·is·used·for·checksums·// | 87 | 120·//·the·following·part·is·used·for·checksums·// |
88 | _\x81_\x82_\x82·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8r_\x8e_\x8f; | 88 | _\x81_\x82_\x82·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8r_\x8e_\x8f; |
89 | 123}; | 89 | 123}; |
90 | 124 | 90 | 124 |
91 | 127bool·operator·<·(const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&v1,·const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&v2); | 91 | 127bool·_.o_.p_.e_.r_.a_.t_.o_.r_.·_.<_.·(const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&_.v_.1,·const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&_.v_.2); |
92 | 128 | 92 | 128 |
93 | 130bool·momentum_eta_less(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v1,·const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&v2); | 93 | 130bool·momentum_eta_less(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&_.v_.1,·const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&_.v_.2); |
94 | 131 | 94 | 131 |
95 | 133bool·momentum_pt_less(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&v1,·const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&v2); | 95 | 133bool·momentum_pt_less(const·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·&_.v_.1,·const·_.C_.m_.o_.m_.e_.n_.t_.u_.m·&_.v_.2); |
96 | 134 | 96 | 134 |
97 | 135 | 97 | 135 |
98 | 137//·some·handy·utilities·// | 98 | 137//·some·handy·utilities·// |
99 | 139 | 99 | 139 |
100 | 144inline·double·get_distance(double·eta,·double·phi,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v){ | 100 | 144inline·double·get_distance(double·eta,·double·phi,·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v){ |
101 | 145·double·dx,·dy; | 101 | 145·double·_.d_.x,·_.d_.y; |
102 | 146 | 102 | 146 |
103 | 147·dx·=·eta·-·v->_\x8e_\x8t_\x8a; | 103 | 147·_.d_.x·=·eta·-·v->_\x8e_\x8t_\x8a; |
104 | 148·dy·=·fabs(phi·-·v->_\x8p_\x8h_\x8i); | 104 | 148·_.d_.y·=·_.f_.a_.b_.s(phi·-·v->_\x8p_\x8h_\x8i); |
105 | 149·if·(dy>M_PI) | 105 | 149·if·(_.d_.y>M_PI) |
106 | 150·dy·-=·_\x8t_\x8w_\x8o_\x8p_\x8i; | 106 | 150·_.d_.y·-=·_\x8t_\x8w_\x8o_\x8p_\x8i; |
107 | 151 | 107 | 151 |
108 | 152·return·dx*dx+dy*dy; | 108 | 152·return·_.d_.x*_.d_.x+_.d_.y*_.d_.y; |
109 | 153} | 109 | 153} |
110 | 154 | 110 | 154 |
111 | 155} | 111 | 155} |
112 | 156 | 112 | 156 |
113 | 157#endif | 113 | 157#endif |
114 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m | 114 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m |
115 | base·class·for·dynamic·coordinates·management | 115 | base·class·for·dynamic·coordinates·management |
Offset 210, 14 lines modified | Offset 210, 18 lines modified | ||
210 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8p_\x8e_\x8r_\x8p_\x8m_\x8a_\x8s_\x8s | 210 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8:_\x8:_\x8p_\x8e_\x8r_\x8p_\x8m_\x8a_\x8s_\x8s |
211 | double·perpmass()·const | 211 | double·perpmass()·const |
212 | transverse·mass,·mt·=·sqrt(pt^2+m^2)·=·sqrt(E^2·-·pz^2) | 212 | transverse·mass,·mt·=·sqrt(pt^2+m^2)·=·sqrt(E^2·-·pz^2) |
213 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8._\x8h_\x8:_\x87_\x86 | 213 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m_\x8._\x8h_\x8:_\x87_\x86 |
214 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e | 214 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e |
215 | references·used·for·checksums. | 215 | references·used·for·checksums. |
216 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x83 | 216 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x83 |
217 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
218 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
219 | iterator; | ||
220 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
217 | _\x8d_\x8e_\x8f_\x8i_\x8n_\x8e_\x8s_\x8._\x8h | 221 | _\x8d_\x8e_\x8f_\x8i_\x8n_\x8e_\x8s_\x8._\x8h |
218 | _\x8t_\x8w_\x8o_\x8p_\x8i | 222 | _\x8t_\x8w_\x8o_\x8p_\x8i |
219 | const·double·twopi | 223 | const·double·twopi |
220 | definition·of·2*M_PI·which·is·useful·a·bit·everyhere! | 224 | definition·of·2*M_PI·which·is·useful·a·bit·everyhere! |
221 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8d_\x8e_\x8f_\x8i_\x8n_\x8e_\x8s_\x8._\x8h_\x8:_\x81_\x81_\x84 | 225 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8d_\x8e_\x8f_\x8i_\x8n_\x8e_\x8s_\x8._\x8h_\x8:_\x81_\x81_\x84 |
222 | =============================================================================== | 226 | =============================================================================== |
223 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 227 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 92, 44 lines modified | Offset 92, 44 lines modified | ||
92 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">·*·The·elements·at·each·node·are·of·'Cmomentum'·type.··············*</span></div> | 92 | <div·class="line"><a·id="l00040"·name="l00040"></a><span·class="lineno">···40</span><span·class="comment">·*·The·elements·at·each·node·are·of·'Cmomentum'·type.··············*</span></div> |
93 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">·*******************************************************************/</span></div> | 93 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno">···41</span><span·class="comment">·*******************************************************************/</span></div> |
94 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 94 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
95 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//·default·ctor</span></div> | 95 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno">···43</span><span·class="comment">//·default·ctor</span></div> |
96 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//--------------</span></div> | 96 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span><span·class="comment">//--------------</span></div> |
97 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}"> | 97 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}"> |
98 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">···45</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree::Cquadtree</a>(){</div> | 98 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">···45</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree::Cquadtree</a>(){</div> |
99 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>·=·NULL;</div> | 99 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>;</div> |
100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 100 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][0]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][1]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][0]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][1]·=·NULL;</div> | 101 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][0]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][1]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][0]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][1]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>;</div> |
102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>·=·<span·class="keyword">false</span>;</div> | 102 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>·=·<span·class="keyword">false</span>;</div> |
103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div> | 103 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>}</div> |
104 | </div> | 104 | </div> |
105 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> | 105 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>·</div> |
106 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 106 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
107 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//·ctor·with·initialisation·(see·init·for·details)</span></div> | 107 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span><span·class="comment">//·ctor·with·initialisation·(see·init·for·details)</span></div> |
108 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//--------------------------</span></div> | 108 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span><span·class="comment">//--------------------------</span></div> |
109 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> | 109 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> |
110 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a8787e345646364ee4acfa33290ab32b7">···55</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree::Cquadtree</a>(<span·class="keywordtype">double</span>· | 110 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a8787e345646364ee4acfa33290ab32b7">···55</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree::Cquadtree</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_x</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_y</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="c[·...·truncated·by·diffoscope;·len:·170,·SHA:·7d687b6b9ef8f2fc1d0bff6c937f97796fe6093ce591efb5cfbb87cb6fab16dc·...·]){</div> |
111 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>·=·NULL;</div> | 111 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>;</div> |
112 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 112 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
113 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][0]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][1]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][0]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][1]·=·NULL;</div> | 113 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][0]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][1]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][0]·=·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][1]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>;</div> |
114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>·=·<span·class="keyword">false</span>;</div> | 114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>·=·<span·class="keyword">false</span>;</div> |
115 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 115 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
116 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">init</a>(_x,·_y,·_half_size_x,·_half | 116 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">init</a>(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_x</a>,·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_y</a>,·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_half_size_x</a>,·<a·class="code·hl_class"·href=[·...·truncated·by·diffoscope;·len:·50,·SHA:·91f8d4d929b0ec858c7552cf5deccb26b0fadabae02e508e7fcd0d663d95a846·...·]);</div> |
117 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}</div> | 117 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>}</div> |
118 | </div> | 118 | </div> |
119 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> | 119 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>·</div> |
120 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> | 120 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>·</div> |
121 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//·default·destructor</span></div> | 121 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span><span·class="comment">//·default·destructor</span></div> |
122 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//·at·destruction,·everything·is·destroyed·except·</span></div> | 122 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span><span·class="comment">//·at·destruction,·everything·is·destroyed·except·</span></div> |
123 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//·physical·values·at·the·leaves</span></div> | 123 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span><span·class="comment">//·physical·values·at·the·leaves</span></div> |
124 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//------------------------------------------------</span></div> | 124 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span><span·class="comment">//------------------------------------------------</span></div> |
125 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> | 125 | <div·class="foldopen"·id="foldopen00069"·data-start="{"·data-end="}"> |
126 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a54a4da1cf2fb1dd9eb838ef940acf380">···69</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a54a4da1cf2fb1dd9eb838ef940acf380">Cquadtree::~Cquadtree</a>(){</div> | 126 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a54a4da1cf2fb1dd9eb838ef940acf380">···69</a></span><a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a54a4da1cf2fb1dd9eb838ef940acf380">Cquadtree::~Cquadtree</a>(){</div> |
127 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>){</div> | 127 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>){</div> |
128 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>!=NULL)·<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>;</div> | 128 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>!=<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>)·<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>;</div> |
129 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][0];</div> | 129 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>····<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][0];</div> |
130 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][1];</div> | 130 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][1];</div> |
131 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][0];</div> | 131 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>····<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][0];</div> |
132 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][1];</div> | 132 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>····<span·class="keyword">delete</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][1];</div> |
133 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div> | 133 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··}</div> |
134 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}</div> | 134 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>}</div> |
135 | </div> | 135 | </div> |
Offset 143, 86 lines modified | Offset 143, 86 lines modified | ||
143 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">·*··-·_y···········y-position·of·the·center</span></div> | 143 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">·*··-·_y···········y-position·of·the·center</span></div> |
144 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">·*··-·half_size_x··half·x-size·of·the·cell</span></div> | 144 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">·*··-·half_size_x··half·x-size·of·the·cell</span></div> |
145 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">·*··-·half_size_y··half·y-size·of·the·cell</span></div> | 145 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span><span·class="comment">·*··-·half_size_y··half·y-size·of·the·cell</span></div> |
146 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">·*·return·0·on·success,·1·on·error.·Note·that·if·the·cell</span></div> | 146 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">·*·return·0·on·success,·1·on·error.·Note·that·if·the·cell</span></div> |
147 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">·*········is·already·filled,·we·return·an·error.</span></div> | 147 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span><span·class="comment">·*········is·already·filled,·we·return·an·error.</span></div> |
148 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">·******************************************************************/</span></div> | 148 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">·******************************************************************/</span></div> |
149 | <div·class="foldopen"·id="foldopen00091"·data-start="{"·data-end="}"> | 149 | <div·class="foldopen"·id="foldopen00091"·data-start="{"·data-end="}"> |
150 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">···91</a></span><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">Cquadtree::init</a>(<span·class="keywordtype">double</span>· | 150 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">···91</a></span><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">Cquadtree::init</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_x</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_y</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="c[·...·truncated·by·diffoscope;·len:·170,·SHA:·7d687b6b9ef8f2fc1d0bff6c937f97796fe6093ce591efb5cfbb87cb6fab16dc·...·]){</div> |
151 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>!=NULL)</div> | 151 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>!=<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>)</div> |
152 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordflow">return</span>·1;</div> | 152 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>····<span·class="keywordflow">return</span>·1;</div> |
153 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> | 153 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>·</div> |
154 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>·=·_x;</div> | 154 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_x</a>;</div> |
155 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>·=·_y;</div> | 155 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_y</a>;</div> |
156 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a31ed7c8a449f6d0173f9f460797a7a83">half_size_x</a>·=·_half_size_x;</div> | 156 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a31ed7c8a449f6d0173f9f460797a7a83">half_size_x</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_half_size_x</a>;</div> |
157 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a3d1035f64b59d5b74dd549772999201c">half_size_y</a>·=·_half_size_y;</div> | 157 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a3d1035f64b59d5b74dd549772999201c">half_size_y</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_half_size_y</a>;</div> |
158 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> | 158 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·</div> |
159 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keywordflow">return</span>·0;</div> | 159 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>··<span·class="keywordflow">return</span>·0;</div> |
160 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>}</div> | 160 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span>}</div> |
161 | </div> | 161 | </div> |
162 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> | 162 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span>·</div> |
163 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> | 163 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno">··103</span>·</div> |
164 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="comment">/*</span></div> | 164 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span><span·class="comment">/*</span></div> |
165 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="comment">·*·adding·a·particle·to·the·tree.</span></div> | 165 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span><span·class="comment">·*·adding·a·particle·to·the·tree.</span></div> |
166 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment">·*·This·method·adds·one·vector·to·the·quadtree·structure·which·</span></div> | 166 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span><span·class="comment">·*·This·method·adds·one·vector·to·the·quadtree·structure·which·</span></div> |
167 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="comment">·*·is·updated·consequently.</span></div> | 167 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span><span·class="comment">·*·is·updated·consequently.</span></div> |
168 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="comment">·*··-·v···vector·to·add</span></div> | 168 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span><span·class="comment">·*··-·v···vector·to·add</span></div> |
169 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="comment">·*·return·0·on·success·1·on·error</span></div> | 169 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span><span·class="comment">·*·return·0·on·success·1·on·error</span></div> |
170 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="comment">·******************************************************************/</span></div> | 170 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="comment">·******************************************************************/</span></div> |
171 | <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}"> | 171 | <div·class="foldopen"·id="foldopen00111"·data-start="{"·data-end="}"> |
172 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a5eaf290c99a3cad3685f17766c3e459e">··111</a></span><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a5eaf290c99a3cad3685f17766c3e459e">Cquadtree::add</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v_add){</div> | 172 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a5eaf290c99a3cad3685f17766c3e459e">··111</a></span><span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a5eaf290c99a3cad3685f17766c3e459e">Cquadtree::add</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v_add</a>){</div> |
173 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··<span·class="comment">//·Description·of·the·method:</span></div> | 173 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno">··112</span>··<span·class="comment">//·Description·of·the·method:</span></div> |
174 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="comment">//·--------------------------</span></div> | 174 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="comment">//·--------------------------</span></div> |
175 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="comment">//·the·addition·process·goes·as·follows:</span></div> | 175 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<span·class="comment">//·the·addition·process·goes·as·follows:</span></div> |
176 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<span·class="comment">//··1.·check·if·the·cell·is·empty,·in·which·case,·add·the·particle·</span></div> | 176 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<span·class="comment">//··1.·check·if·the·cell·is·empty,·in·which·case,·add·the·particle·</span></div> |
177 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="comment">//·····here·and·leave.</span></div> | 177 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="comment">//·····here·and·leave.</span></div> |
178 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="comment">//··2.·If·there·is·a·unique·particle·already·inside,</span></div> | 178 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>··<span·class="comment">//··2.·If·there·is·a·unique·particle·already·inside,</span></div> |
179 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="comment">//······(a)·create·children</span></div> | 179 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>··<span·class="comment">//······(a)·create·children</span></div> |
180 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="comment">//······(b)·forward·the·existing·particle·to·the·appropriate·child</span></div> | 180 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="comment">//······(b)·forward·the·existing·particle·to·the·appropriate·child</span></div> |
181 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="comment">//··3.·Add·current·particle·to·this·cell·and·forward·to·the·</span></div> | 181 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>··<span·class="comment">//··3.·Add·current·particle·to·this·cell·and·forward·to·the·</span></div> |
182 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="comment">//·····adequate·child</span></div> | 182 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>··<span·class="comment">//·····adequate·child</span></div> |
183 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··<span·class="comment">//·NOTE:·we·assume·in·the·whole·procedure·that·the·particle·is·</span></div> | 183 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span>··<span·class="comment">//·NOTE:·we·assume·in·the·whole·procedure·that·the·particle·is·</span></div> |
184 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="comment">//·······indeed·inside·the·cell·!</span></div> | 184 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="comment">//·······indeed·inside·the·cell·!</span></div> |
185 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> | 185 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span>·</div> |
186 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··<span·class="comment">//·step·1:·the·case·of·empty·cells</span></div> | 186 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>··<span·class="comment">//·step·1:·the·case·of·empty·cells</span></div> |
187 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>==NULL){</div> | 187 | <div·class="line"><a·id="l00126"·name="l00126"></a><span·class="lineno">··126</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>==<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">NULL</a>){</div> |
188 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>·=·v_add;</div> | 188 | <div·class="line"><a·id="l00127"·name="l00127"></a><span·class="lineno">··127</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v_add</a>;</div> |
189 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>····<span·class="keywordflow">return</span>·0;</div> | 189 | <div·class="line"><a·id="l00128"·name="l00128"></a><span·class="lineno">··128</span>····<span·class="keywordflow">return</span>·0;</div> |
190 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··}</div> | 190 | <div·class="line"><a·id="l00129"·name="l00129"></a><span·class="lineno">··129</span>··}</div> |
191 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> | 191 | <div·class="line"><a·id="l00130"·name="l00130"></a><span·class="lineno">··130</span>·</div> |
192 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<span·class="comment">//·step·2:·additional·work·if·1!·particle·already·present</span></div> | 192 | <div·class="line"><a·id="l00131"·name="l00131"></a><span·class="lineno">··131</span>··<span·class="comment">//·step·2:·additional·work·if·1!·particle·already·present</span></div> |
193 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··<span·class="comment">//·········we·use·the·fact·that·only·1-particle·systems·have·no·child</span></div> | 193 | <div·class="line"><a·id="l00132"·name="l00132"></a><span·class="lineno">··132</span>··<span·class="comment">//·········we·use·the·fact·that·only·1-particle·systems·have·no·child</span></div> |
194 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keywordflow">if</span>·(!<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>){</div> | 194 | <div·class="line"><a·id="l00133"·name="l00133"></a><span·class="lineno">··133</span>··<span·class="keywordflow">if</span>·(!<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>){</div> |
195 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>····<span·class="keywordtype">double</span>·new_half_size_x·=·0.5*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a31ed7c8a449f6d0173f9f460797a7a83">half_size_x</a>;</div> | 195 | <div·class="line"><a·id="l00134"·name="l00134"></a><span·class="lineno">··134</span>····<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>·=·0.5*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a31ed7c8a449f6d0173f9f460797a7a83">half_size_x</a>;</div> |
196 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····<span·class="keywordtype">double</span>·new_half_size_y·=·0.5*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a3d1035f64b59d5b74dd549772999201c">half_size_y</a>;</div> | 196 | <div·class="line"><a·id="l00135"·name="l00135"></a><span·class="lineno">··135</span>····<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_y</a>·=·0.5*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a3d1035f64b59d5b74dd549772999201c">half_size_y</a>;</div> |
197 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····<span·class="comment">//·create·children</span></div> | 197 | <div·class="line"><a·id="l00136"·name="l00136"></a><span·class="lineno">··136</span>····<span·class="comment">//·create·children</span></div> |
198 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][0]·=·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>-new_half_size_x,·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>- | 198 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno">··137</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][0]·=·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>-<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>,·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>-<a·class="code·hl_class"·href="classsiscone_1_1circulator.[·...·truncated·by·diffoscope;·len:·25,·SHA:·13bbb18f4c6ac879e8b0e35f90a1ff7ed49e69a5bf7d1fe970a3deafbb5ca6a0·...·],</div> |
199 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>···································new_half_size_x,·new_half_size_y);</div> | 199 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>···································<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>,·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_y</a>);</div> |
200 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][1]·=·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>-new_half_size_x,·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>+ | 200 | <div·class="line"><a·id="l00139"·name="l00139"></a><span·class="lineno">··139</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[0][1]·=·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>-<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>,·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>+<a·class="code·hl_class"·href="classsiscone_1_1circulator.[·...·truncated·by·diffoscope;·len:·25,·SHA:·13bbb18f4c6ac879e8b0e35f90a1ff7ed49e69a5bf7d1fe970a3deafbb5ca6a0·...·],</div> |
201 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>···································new_half_size_x,·new_half_size_y);</div> | 201 | <div·class="line"><a·id="l00140"·name="l00140"></a><span·class="lineno">··140</span>···································<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>,·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_y</a>);</div> |
202 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][0]·=·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>+new_half_size_x,·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>- | 202 | <div·class="line"><a·id="l00141"·name="l00141"></a><span·class="lineno">··141</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][0]·=·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>+<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>,·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>-<a·class="code·hl_class"·href="classsiscone_1_1circulator.[·...·truncated·by·diffoscope;·len:·25,·SHA:·13bbb18f4c6ac879e8b0e35f90a1ff7ed49e69a5bf7d1fe970a3deafbb5ca6a0·...·],</div> |
203 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>···································new_half_size_x,·new_half_size_y);</div> | 203 | <div·class="line"><a·id="l00142"·name="l00142"></a><span·class="lineno">··142</span>···································<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>,·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_y</a>);</div> |
204 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][1]·=·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>+new_half_size_x,·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>+ | 204 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno">··143</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[1][1]·=·<span·class="keyword">new</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>+<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>,·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>+<a·class="code·hl_class"·href="classsiscone_1_1circulator.[·...·truncated·by·diffoscope;·len:·25,·SHA:·13bbb18f4c6ac879e8b0e35f90a1ff7ed49e69a5bf7d1fe970a3deafbb5ca6a0·...·],</div> |
205 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>···································new_half_size_x,·new_half_size_y);</div> | 205 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>···································<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_x</a>,·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">new_half_size_y</a>);</div> |
206 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> | 206 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·</div> |
207 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>·=·<span·class="keyword">true</span>;</div> | 207 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">has_child</a>·=·<span·class="keyword">true</span>;</div> |
208 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> | 208 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>·</div> |
209 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>····<span·class="comment">//·forward·to·child</span></div> | 209 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>····<span·class="comment">//·forward·to·child</span></div> |
210 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····<span·class="comment">//?·The·following·line·assumes·'true'==1·and·'false'==0</span></div> | 210 | <div·class="line"><a·id="l00149"·name="l00149"></a><span·class="lineno">··149</span>····<span·class="comment">//?·The·following·line·assumes·'true'==1·and·'false'==0</span></div> |
211 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····<span·class="comment">//·Note:·v·being·a·single·particle,·eta·and·phi·are·correct</span></div> | 211 | <div·class="line"><a·id="l00150"·name="l00150"></a><span·class="lineno">··150</span>····<span·class="comment">//·Note:·v·being·a·single·particle,·eta·and·phi·are·correct</span></div> |
212 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>><a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>][<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>><a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>]-><a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a5eaf290c99a3cad3685f17766c3e459e">add</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>);</div> | 212 | <div·class="line"><a·id="l00151"·name="l00151"></a><span·class="lineno">··151</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#a5ca61b8cdd1e8225ac5da7dd1814b7b3">eta</a>><a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>][<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>-><a·class="code·hl_variable"·href="classsiscone_1_1Cmomentum.html#ae16f3eee4a19315fc0ced5cde2c265a6">phi</a>><a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>]-><a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a5eaf290c99a3cad3685f17766c3e459e">add</a>(<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>);</div> |
213 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> | 213 | <div·class="line"><a·id="l00152"·name="l00152"></a><span·class="lineno">··152</span>·</div> |
214 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>····<span·class="comment">//·copy·physical·params</span></div> | 214 | <div·class="line"><a·id="l00153"·name="l00153"></a><span·class="lineno">··153</span>····<span·class="comment">//·copy·physical·params</span></div> |
215 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>(*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>);</div> | 215 | <div·class="line"><a·id="l00154"·name="l00154"></a><span·class="lineno">··154</span>····<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>·=·<span·class="keyword">new</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>(*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>);</div> |
216 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>··}</div> | 216 | <div·class="line"><a·id="l00155"·name="l00155"></a><span·class="lineno">··155</span>··}</div> |
217 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> | 217 | <div·class="line"><a·id="l00156"·name="l00156"></a><span·class="lineno">··156</span>·</div> |
218 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>··<span·class="comment">//·step·3:·add·new·particle</span></div> | 218 | <div·class="line"><a·id="l00157"·name="l00157"></a><span·class="lineno">··157</span>··<span·class="comment">//·step·3:·add·new·particle</span></div> |
219 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>··<span·class="comment">//·Note:·v_add·being·a·single·particle,·eta·and·phi·are·correct</span></div> | 219 | <div·class="line"><a·id="l00158"·name="l00158"></a><span·class="lineno">··158</span>··<span·class="comment">//·Note:·v_add·being·a·single·particle,·eta·and·phi·are·correct</span></div> |
220 | <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[ | 220 | <div·class="line"><a·id="l00159"·name="l00159"></a><span·class="lineno">··159</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">children</a>[<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v_add</a>->eta><a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>][<a·class="code·hl_class"·href="classsiscone_1_1circulator[·...·truncated·by·diffoscope;·len:·327,·SHA:·cf630931c7666823462b05a9fee47557b416f689d116e32787b2c5a42dec0169·...·]);</div> |
221 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>+=*v_add;</div> | 221 | <div·class="line"><a·id="l00160"·name="l00160"></a><span·class="lineno">··160</span>··*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>+=*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v_add</a>;</div> |
222 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div> | 222 | <div·class="line"><a·id="l00161"·name="l00161"></a><span·class="lineno">··161</span>·</div> |
223 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>··<span·class="keywordflow">return</span>·0;</div> | 223 | <div·class="line"><a·id="l00162"·name="l00162"></a><span·class="lineno">··162</span>··<span·class="keywordflow">return</span>·0;</div> |
224 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>}</div> | 224 | <div·class="line"><a·id="l00163"·name="l00163"></a><span·class="lineno">··163</span>}</div> |
Max diff block lines reached; 46790/84928 bytes (55.09%) of diff not shown. |
Offset 42, 41 lines modified | Offset 42, 41 lines modified | ||
42 | 39·*·This·class·implements·the·traditional·two-dimensional·quadtree.·* | 42 | 39·*·This·class·implements·the·traditional·two-dimensional·quadtree.·* |
43 | 40·*·The·elements·at·each·node·are·of·'Cmomentum'·type.·* | 43 | 40·*·The·elements·at·each·node·are·of·'Cmomentum'·type.·* |
44 | 41·*******************************************************************/ | 44 | 41·*******************************************************************/ |
45 | 42 | 45 | 42 |
46 | 43//·default·ctor | 46 | 43//·default·ctor |
47 | 44//-------------- | 47 | 44//-------------- |
48 | _\x84_\x85_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(){ | 48 | _\x84_\x85_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(){ |
49 | 46·_\x8v·=·NULL; | 49 | 46·_\x8v·=·_.N_.U_.L_.L; |
50 | 47 | 50 | 47 |
51 | 48·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][0]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][1]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][0]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][1]·=·NULL; | 51 | 48·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][0]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][1]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][0]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][1]·=·_.N_.U_.L_.L; |
52 | 49·_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d·=·false; | 52 | 49·_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d·=·false; |
53 | 50} | 53 | 50} |
54 | 51 | 54 | 51 |
55 | 52 | 55 | 52 |
56 | 53//·ctor·with·initialisation·(see·init·for·details) | 56 | 53//·ctor·with·initialisation·(see·init·for·details) |
57 | 54//-------------------------- | 57 | 54//-------------------------- |
58 | _\x85_\x85_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(double·_x,·double·_y,·double·_half_size_x,·double | 58 | _\x85_\x85_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(double·_.__.x,·double·_.__.y,·double·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x,·double |
59 | _half_size_y){ | 59 | _.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y){ |
60 | 56·_\x8v·=·NULL; | 60 | 56·_\x8v·=·_.N_.U_.L_.L; |
61 | 57 | 61 | 57 |
62 | 58·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][0]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][1]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][0]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][1]·=·NULL; | 62 | 58·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][0]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][1]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][0]·=·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][1]·=·_.N_.U_.L_.L; |
63 | 59·_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d·=·false; | 63 | 59·_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d·=·false; |
64 | 60 | 64 | 60 |
65 | 61·_\x8i_\x8n_\x8i_\x8t(_x,·_y,·_half_size_x,·_half_size_y); | 65 | 61·_\x8i_\x8n_\x8i_\x8t(_.__.x,·_.__.y,·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x,·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y); |
66 | 62} | 66 | 62} |
67 | 63 | 67 | 63 |
68 | 64 | 68 | 64 |
69 | 65//·default·destructor | 69 | 65//·default·destructor |
70 | 66//·at·destruction,·everything·is·destroyed·except | 70 | 66//·at·destruction,·everything·is·destroyed·except |
71 | 67//·physical·values·at·the·leaves | 71 | 67//·physical·values·at·the·leaves |
72 | 68//------------------------------------------------ | 72 | 68//------------------------------------------------ |
73 | _\x86_\x89_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8~_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(){ | 73 | _\x86_\x89_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8~_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(){ |
74 | 70·if·(_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d){ | 74 | 70·if·(_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d){ |
75 | 71·if·(_\x8v!=NULL)·delete·_\x8v; | 75 | 71·if·(_\x8v!=_.N_.U_.L_.L)·delete·_\x8v; |
76 | 72·delete·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][0]; | 76 | 72·delete·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][0]; |
77 | 73·delete·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][1]; | 77 | 73·delete·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][1]; |
78 | 74·delete·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][0]; | 78 | 74·delete·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][0]; |
79 | 75·delete·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][1]; | 79 | 75·delete·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][1]; |
80 | 76·} | 80 | 76·} |
81 | 77} | 81 | 77} |
82 | 78 | 82 | 78 |
Offset 88, 89 lines modified | Offset 88, 89 lines modified | ||
88 | 84·*·-·_x·x-position·of·the·center | 88 | 84·*·-·_x·x-position·of·the·center |
89 | 85·*·-·_y·y-position·of·the·center | 89 | 85·*·-·_y·y-position·of·the·center |
90 | 86·*·-·half_size_x·half·x-size·of·the·cell | 90 | 86·*·-·half_size_x·half·x-size·of·the·cell |
91 | 87·*·-·half_size_y·half·y-size·of·the·cell | 91 | 87·*·-·half_size_y·half·y-size·of·the·cell |
92 | 88·*·return·0·on·success,·1·on·error.·Note·that·if·the·cell | 92 | 88·*·return·0·on·success,·1·on·error.·Note·that·if·the·cell |
93 | 89·*·is·already·filled,·we·return·an·error. | 93 | 89·*·is·already·filled,·we·return·an·error. |
94 | 90·******************************************************************/ | 94 | 90·******************************************************************/ |
95 | _\x89_\x81int·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8i_\x8n_\x8i_\x8t(double·_x,·double·_y,·double·_half_size_x,·double | 95 | _\x89_\x81int·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8i_\x8n_\x8i_\x8t(double·_.__.x,·double·_.__.y,·double·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x,·double |
96 | _half_size_y){ | 96 | _.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y){ |
97 | 92·if·(_\x8v!=NULL) | 97 | 92·if·(_\x8v!=_.N_.U_.L_.L) |
98 | 93·return·1; | 98 | 93·return·1; |
99 | 94 | 99 | 94 |
100 | 95·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x·=·_x; | 100 | 95·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x·=·_.__.x; |
101 | 96·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y·=·_y; | 101 | 96·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y·=·_.__.y; |
102 | 97·_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x·=·_half_size_x; | 102 | 97·_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x·=·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x; |
103 | 98·_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y·=·_half_size_y; | 103 | 98·_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y·=·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y; |
104 | 99 | 104 | 99 |
105 | 100·return·0; | 105 | 100·return·0; |
106 | 101} | 106 | 101} |
107 | 102 | 107 | 102 |
108 | 103 | 108 | 103 |
109 | 104/* | 109 | 104/* |
110 | 105·*·adding·a·particle·to·the·tree. | 110 | 105·*·adding·a·particle·to·the·tree. |
111 | 106·*·This·method·adds·one·vector·to·the·quadtree·structure·which | 111 | 106·*·This·method·adds·one·vector·to·the·quadtree·structure·which |
112 | 107·*·is·updated·consequently. | 112 | 107·*·is·updated·consequently. |
113 | 108·*·-·v·vector·to·add | 113 | 108·*·-·v·vector·to·add |
114 | 109·*·return·0·on·success·1·on·error | 114 | 109·*·return·0·on·success·1·on·error |
115 | 110·******************************************************************/ | 115 | 110·******************************************************************/ |
116 | _\x81_\x81_\x81int·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8a_\x8d_\x8d(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v_add){ | 116 | _\x81_\x81_\x81int·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8a_\x8d_\x8d(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*_.v_.__.a_.d_.d){ |
117 | 112·//·Description·of·the·method: | 117 | 112·//·Description·of·the·method: |
118 | 113·//·-------------------------- | 118 | 113·//·-------------------------- |
119 | 114·//·the·addition·process·goes·as·follows: | 119 | 114·//·the·addition·process·goes·as·follows: |
120 | 115·//·1.·check·if·the·cell·is·empty,·in·which·case,·add·the·particle | 120 | 115·//·1.·check·if·the·cell·is·empty,·in·which·case,·add·the·particle |
121 | 116·//·here·and·leave. | 121 | 116·//·here·and·leave. |
122 | 117·//·2.·If·there·is·a·unique·particle·already·inside, | 122 | 117·//·2.·If·there·is·a·unique·particle·already·inside, |
123 | 118·//·(a)·create·children | 123 | 118·//·(a)·create·children |
124 | 119·//·(b)·forward·the·existing·particle·to·the·appropriate·child | 124 | 119·//·(b)·forward·the·existing·particle·to·the·appropriate·child |
125 | 120·//·3.·Add·current·particle·to·this·cell·and·forward·to·the | 125 | 120·//·3.·Add·current·particle·to·this·cell·and·forward·to·the |
126 | 121·//·adequate·child | 126 | 121·//·adequate·child |
127 | 122·//·NOTE:·we·assume·in·the·whole·procedure·that·the·particle·is | 127 | 122·//·NOTE:·we·assume·in·the·whole·procedure·that·the·particle·is |
128 | 123·//·indeed·inside·the·cell·! | 128 | 123·//·indeed·inside·the·cell·! |
129 | 124 | 129 | 124 |
130 | 125·//·step·1:·the·case·of·empty·cells | 130 | 125·//·step·1:·the·case·of·empty·cells |
131 | 126·if·(_\x8v==NULL){ | 131 | 126·if·(_\x8v==_.N_.U_.L_.L){ |
132 | 127·_\x8v·=·v_add; | 132 | 127·_\x8v·=·_.v_.__.a_.d_.d; |
133 | 128·return·0; | 133 | 128·return·0; |
134 | 129·} | 134 | 129·} |
135 | 130 | 135 | 130 |
136 | 131·//·step·2:·additional·work·if·1!·particle·already·present | 136 | 131·//·step·2:·additional·work·if·1!·particle·already·present |
137 | 132·//·we·use·the·fact·that·only·1-particle·systems·have·no·child | 137 | 132·//·we·use·the·fact·that·only·1-particle·systems·have·no·child |
138 | 133·if·(!_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d){ | 138 | 133·if·(!_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d){ |
139 | 134·double·new_half_size_x·=·0.5*_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x; | 139 | 134·double·_.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x·=·0.5*_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x; |
140 | 135·double·new_half_size_y·=·0.5*_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y; | 140 | 135·double·_.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y·=·0.5*_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y; |
141 | 136·//·create·children | 141 | 136·//·create·children |
142 | 137·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][0]·=·new·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x-new_half_size_x,·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y- | 142 | 137·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][0]·=·new·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x-_.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x,·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y- |
143 | new_half_size_y, | ||
144 | 143 | _.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y, | |
144 | 138·_\x8n_\x8e_\x8w_\x8__\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x,·_\x8n_\x8e_\x8w_\x8__\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y); | ||
145 | 139·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][1]·=·new·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x-new_half_size_x, | 145 | 139·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[0][1]·=·new·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x-_.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x, |
146 | _\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y+new_half_size_y, | ||
147 | 146 | _.c_.e_.n_.t_.r_.e_.__.y+_.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y, | |
147 | 140·_\x8n_\x8e_\x8w_\x8__\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x,·_\x8n_\x8e_\x8w_\x8__\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y); | ||
148 | 141·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][0]·=·new·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x+new_half_size_x,·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y- | 148 | 141·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][0]·=·new·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x+_.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x,·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y- |
149 | new_half_size_y, | ||
150 | 149 | _.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y, | |
150 | 142·_\x8n_\x8e_\x8w_\x8__\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x,·_\x8n_\x8e_\x8w_\x8__\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y); | ||
151 | 143·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][1]·=·new·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x+new_half_size_x, | 151 | 143·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[1][1]·=·new·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x+_.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x, |
152 | _\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y+new_half_size_y, | ||
153 | 152 | _.c_.e_.n_.t_.r_.e_.__.y+_.n_.e_.w_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y, | |
153 | 144·_\x8n_\x8e_\x8w_\x8__\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x,·_\x8n_\x8e_\x8w_\x8__\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y); | ||
154 | 145 | 154 | 145 |
155 | 146·_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d·=·true; | 155 | 146·_\x8h_\x8a_\x8s_\x8__\x8c_\x8h_\x8i_\x8l_\x8d·=·true; |
156 | 147 | 156 | 147 |
157 | 148·//·forward·to·child | 157 | 148·//·forward·to·child |
158 | 149·//?·The·following·line·assumes·'true'==1·and·'false'==0 | 158 | 149·//?·The·following·line·assumes·'true'==1·and·'false'==0 |
159 | 150·//·Note:·v·being·a·single·particle,·eta·and·phi·are·correct | 159 | 150·//·Note:·v·being·a·single·particle,·eta·and·phi·are·correct |
160 | 151·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[_\x8v->_\x8e_\x8t_\x8a>_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x][_\x8v->_\x8p_\x8h_\x8i>_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y]->_\x8a_\x8d_\x8d(_\x8v); | 160 | 151·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[_\x8v->_\x8e_\x8t_\x8a>_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x][_\x8v->_\x8p_\x8h_\x8i>_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y]->_\x8a_\x8d_\x8d(_\x8v); |
161 | 152 | 161 | 152 |
162 | 153·//·copy·physical·params | 162 | 153·//·copy·physical·params |
163 | 154·_\x8v·=·new·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(*_\x8v); | 163 | 154·_\x8v·=·new·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m(*_\x8v); |
164 | 155·} | 164 | 155·} |
165 | 156 | 165 | 156 |
166 | 157·//·step·3:·add·new·particle | 166 | 157·//·step·3:·add·new·particle |
167 | 158·//·Note:·v_add·being·a·single·particle,·eta·and·phi·are·correct | 167 | 158·//·Note:·v_add·being·a·single·particle,·eta·and·phi·are·correct |
168 | 159·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[v_ | 168 | 159·_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n[_.v_.__.a_.d_.d->eta>_.c_.e_.n_.t_.r_.e_.__.x][_.v_.__.a_.d_.d->phi>_.c_.e_.n_.t_.r_.e_.__.y]->_.a_.d_.d(_.v_.__.a_.d_.d); |
Max diff block lines reached; 9265/17310 bytes (53.52%) of diff not shown. |
Offset 85, 27 lines modified | Offset 85, 27 lines modified | ||
85 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>siscone{</div> | 85 | <div·class="line"><a·id="l00034"·name="l00034"></a><span·class="lineno">···34</span><span·class="keyword">namespace·</span>siscone{</div> |
86 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 86 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
87 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> | 87 | <div·class="foldopen"·id="foldopen00043"·data-start="{"·data-end="};"> |
88 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html">···43</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Cquadtree.html">Cquadtree</a>{</div> | 88 | <div·class="line"><a·id="l00043"·name="l00043"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html">···43</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Cquadtree.html">Cquadtree</a>{</div> |
89 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·<span·class="keyword">public</span>:</div> | 89 | <div·class="line"><a·id="l00044"·name="l00044"></a><span·class="lineno">···44</span>·<span·class="keyword">public</span>:</div> |
90 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>();</div> | 90 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>();</div> |
91 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 91 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
92 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<span·class="keywordtype">double</span>· | 92 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a74f087ccb4668bf0da9930a783dcdb31">Cquadtree</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_x</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_y</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="c[·...·truncated·by·diffoscope;·len:·170,·SHA:·7d687b6b9ef8f2fc1d0bff6c937f97796fe6093ce591efb5cfbb87cb6fab16dc·...·]);</div> |
93 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 93 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
94 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a54a4da1cf2fb1dd9eb838ef940acf380">~Cquadtree</a>();</div> | 94 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a54a4da1cf2fb1dd9eb838ef940acf380">~Cquadtree</a>();</div> |
95 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 95 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
96 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">init</a>(<span·class="keywordtype">double</span>· | 96 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">init</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_x</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_y</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="c[·...·truncated·by·diffoscope;·len:·170,·SHA:·7d687b6b9ef8f2fc1d0bff6c937f97796fe6093ce591efb5cfbb87cb6fab16dc·...·]);</div> |
97 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 97 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
98 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a5eaf290c99a3cad3685f17766c3e459e">add</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*v_add);</div> | 98 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a5eaf290c99a3cad3685f17766c3e459e">add</a>(<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">v_add</a>);</div> |
99 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 99 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
100 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a4533e29e559e72ed5fd0fd44d5015dc9">circle_intersect</a>(<span·class="keywordtype">double</span>·cx,·<span·class="keywordtype">double</span>·cy,·<span·class="keywordtype">double</span>·c | 100 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a4533e29e559e72ed5fd0fd44d5015dc9">circle_intersect</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cx</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">cy</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="c[·...·truncated·by·diffoscope;·len:·39,·SHA:·2c086d6ed95f980b1532b73999793664e1f84ae6a189b0b19e3de59a13ad02f0·...·]);</div> |
101 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | 101 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
102 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a772c03817c41f09e2df712c94d8b74bc">save</a>(FILE·*flux);</div> | 102 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a772c03817c41f09e2df712c94d8b74bc">save</a>(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">FILE</a>·*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">flux</a>);</div> |
103 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | 103 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> |
104 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a8ba89ad2c9f2d1f8a5adc150b5ea56b8">save_leaves</a>(FILE·*flux);</div> | 104 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Cquadtree.html#a8ba89ad2c9f2d1f8a5adc150b5ea56b8">save_leaves</a>(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">FILE</a>·*<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">flux</a>);</div> |
105 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> | 105 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span>·</div> |
106 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">··112</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>;···········</div> | 106 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">··112</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a8ab4a13d42e0729a8eb375eefa874b9f">centre_x</a>;···········</div> |
107 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">··113</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>;···········</div> | 107 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">··113</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">centre_y</a>;···········</div> |
108 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a31ed7c8a449f6d0173f9f460797a7a83">··114</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a31ed7c8a449f6d0173f9f460797a7a83">half_size_x</a>;········</div> | 108 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a31ed7c8a449f6d0173f9f460797a7a83">··114</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a31ed7c8a449f6d0173f9f460797a7a83">half_size_x</a>;········</div> |
109 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a3d1035f64b59d5b74dd549772999201c">··115</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a3d1035f64b59d5b74dd549772999201c">half_size_y</a>;········</div> | 109 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#a3d1035f64b59d5b74dd549772999201c">··115</a></span>··<span·class="keywordtype">double</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#a3d1035f64b59d5b74dd549772999201c">half_size_y</a>;········</div> |
110 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> | 110 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>·</div> |
111 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">··117</a></span>··<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>;··············</div> | 111 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">··117</a></span>··<a·class="code·hl_class"·href="classsiscone_1_1Cmomentum.html">Cmomentum</a>·*<a·class="code·hl_variable"·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">v</a>;··············</div> |
Offset 130, 14 lines modified | Offset 130, 15 lines modified | ||
130 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_a8ba89ad2c9f2d1f8a5adc150b5ea56b8"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#a8ba89ad2c9f2d1f8a5adc150b5ea56b8">siscone::Cquadtree::save_leaves</a></div><div·class="ttdeci">int·save_leaves(FILE·*flux)</div><div·class="ttdoc">output·a·data·file·for·drawing·the·tree·leaves.</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8cpp_source.html#l00287">quadtree.cpp:287</a></div></div> | 130 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_a8ba89ad2c9f2d1f8a5adc150b5ea56b8"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#a8ba89ad2c9f2d1f8a5adc150b5ea56b8">siscone::Cquadtree::save_leaves</a></div><div·class="ttdeci">int·save_leaves(FILE·*flux)</div><div·class="ttdoc">output·a·data·file·for·drawing·the·tree·leaves.</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8cpp_source.html#l00287">quadtree.cpp:287</a></div></div> |
131 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_aae921b7b40ba56e3fbfa305b0c86f690"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">siscone::Cquadtree::centre_y</a></div><div·class="ttdeci">double·centre_y</div><div·class="ttdoc">y-position·of·the·centre·of·the·cell</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8h_source.html#l00113">quadtree.h:113</a></div></div> | 131 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_aae921b7b40ba56e3fbfa305b0c86f690"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#aae921b7b40ba56e3fbfa305b0c86f690">siscone::Cquadtree::centre_y</a></div><div·class="ttdeci">double·centre_y</div><div·class="ttdoc">y-position·of·the·centre·of·the·cell</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8h_source.html#l00113">quadtree.h:113</a></div></div> |
132 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_ab2dd5d6696c48583a417204700c77ec2"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">siscone::Cquadtree::has_child</a></div><div·class="ttdeci">bool·has_child</div><div·class="ttdoc">true·if·not·a·leaf</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8h_source.html#l00120">quadtree.h:120</a></div></div> | 132 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_ab2dd5d6696c48583a417204700c77ec2"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#ab2dd5d6696c48583a417204700c77ec2">siscone::Cquadtree::has_child</a></div><div·class="ttdeci">bool·has_child</div><div·class="ttdoc">true·if·not·a·leaf</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8h_source.html#l00120">quadtree.h:120</a></div></div> |
133 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_abeb2e57283e3b293e3eba60cc6884337"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">siscone::Cquadtree::v</a></div><div·class="ttdeci">Cmomentum·*·v</div><div·class="ttdoc">physical·contents</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8h_source.html#l00117">quadtree.h:117</a></div></div> | 133 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_abeb2e57283e3b293e3eba60cc6884337"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#abeb2e57283e3b293e3eba60cc6884337">siscone::Cquadtree::v</a></div><div·class="ttdeci">Cmomentum·*·v</div><div·class="ttdoc">physical·contents</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8h_source.html#l00117">quadtree.h:117</a></div></div> |
134 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_ad24a504ba563607b7f2c8b33cfd6f404"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">siscone::Cquadtree::init</a></div><div·class="ttdeci">int·init(double·_x,·double·_y,·double·_half_size_x,·double·_half_size_y)</div><div·class="ttdoc">init·the·tree.</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8cpp_source.html#l00091">quadtree.cpp:91</a></div></div> | 134 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_ad24a504ba563607b7f2c8b33cfd6f404"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#ad24a504ba563607b7f2c8b33cfd6f404">siscone::Cquadtree::init</a></div><div·class="ttdeci">int·init(double·_x,·double·_y,·double·_half_size_x,·double·_half_size_y)</div><div·class="ttdoc">init·the·tree.</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8cpp_source.html#l00091">quadtree.cpp:91</a></div></div> |
135 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_ae93711301ad34334077c8f7c1b01c1f3"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">siscone::Cquadtree::children</a></div><div·class="ttdeci">Cquadtree·*·children[2][2]</div><div·class="ttdoc">sub-cells·(·0,1->left-right;·0,1->bottom,top)</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8h_source.html#l00119">quadtree.h:119</a></div></div> | 135 | <div·class="ttc"·id="aclasssiscone_1_1Cquadtree_html_ae93711301ad34334077c8f7c1b01c1f3"><div·class="ttname"><a·href="classsiscone_1_1Cquadtree.html#ae93711301ad34334077c8f7c1b01c1f3">siscone::Cquadtree::children</a></div><div·class="ttdeci">Cquadtree·*·children[2][2]</div><div·class="ttdoc">sub-cells·(·0,1->left-right;·0,1->bottom,top)</div><div·class="ttdef"><b>Definition</b>·<a·href="quadtree_8h_source.html#l00119">quadtree.h:119</a></div></div> |
136 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> | 136 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> |
137 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
137 | </div><!--·fragment·--></div><!--·contents·--> | 138 | </div><!--·fragment·--></div><!--·contents·--> |
138 | <!--·start·footer·part·--> | 139 | <!--·start·footer·part·--> |
139 | <hr·class="footer"/><address·class="footer"><small> | 140 | <hr·class="footer"/><address·class="footer"><small> |
140 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 141 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
141 | </small></address> | 142 | </small></address> |
142 | </body> | 143 | </body> |
143 | </html> | 144 | </html> |
Offset 35, 27 lines modified | Offset 35, 27 lines modified | ||
35 | 33 | 35 | 33 |
36 | 34namespace·siscone{ | 36 | 34namespace·siscone{ |
37 | 35 | 37 | 35 |
38 | _\x84_\x83class·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e{ | 38 | _\x84_\x83class·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e{ |
39 | 44·public: | 39 | 44·public: |
40 | 46·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(); | 40 | 46·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(); |
41 | 47 | 41 | 47 |
42 | 49·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(double·_x,·double·_y,·double·_half_size_x,·double·_half_size_y); | 42 | 49·_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(double·_.__.x,·double·_.__.y,·double·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x,·double·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y); |
43 | 50 | 43 | 50 |
44 | 54·_\x8~_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(); | 44 | 54·_\x8~_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e(); |
45 | 55 | 45 | 55 |
46 | 67·int·_\x8i_\x8n_\x8i_\x8t(double·_x,·double·_y,·double·_half_size_x,·double·_half_size_y); | 46 | 67·int·_\x8i_\x8n_\x8i_\x8t(double·_.__.x,·double·_.__.y,·double·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.x,·double·_.__.h_.a_.l_.f_.__.s_.i_.z_.e_.__.y); |
47 | 68 | 47 | 68 |
48 | 76·int·_\x8a_\x8d_\x8d(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*v_add); | 48 | 76·int·_\x8a_\x8d_\x8d(_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*_.v_.__.a_.d_.d); |
49 | 77 | 49 | 77 |
50 | 88·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8c_\x8i_\x8r_\x8c_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t(double·cx,·double·cy,·double·cR2); | 50 | 88·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8c_\x8i_\x8r_\x8c_\x8l_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8s_\x8e_\x8c_\x8t(double·_.c_.x,·double·_.c_.y,·double·_.c_.R_.2); |
51 | 89 | 51 | 89 |
52 | 99·int·_\x8s_\x8a_\x8v_\x8e(FILE·*flux); | 52 | 99·int·_\x8s_\x8a_\x8v_\x8e(_.F_.I_.L_.E·*_.f_.l_.u_.x); |
53 | 100 | 53 | 100 |
54 | 110·int·_\x8s_\x8a_\x8v_\x8e_\x8__\x8l_\x8e_\x8a_\x8v_\x8e_\x8s(FILE·*flux); | 54 | 110·int·_\x8s_\x8a_\x8v_\x8e_\x8__\x8l_\x8e_\x8a_\x8v_\x8e_\x8s(_.F_.I_.L_.E·*_.f_.l_.u_.x); |
55 | 111 | 55 | 111 |
56 | _\x81_\x81_\x82·double·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x; | 56 | _\x81_\x81_\x82·double·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8x; |
57 | _\x81_\x81_\x83·double·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y; | 57 | _\x81_\x81_\x83·double·_\x8c_\x8e_\x8n_\x8t_\x8r_\x8e_\x8__\x8y; |
58 | _\x81_\x81_\x84·double·_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x; | 58 | _\x81_\x81_\x84·double·_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8x; |
59 | _\x81_\x81_\x85·double·_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y; | 59 | _\x81_\x81_\x85·double·_\x8h_\x8a_\x8l_\x8f_\x8__\x8s_\x8i_\x8z_\x8e_\x8__\x8y; |
60 | 116 | 60 | 116 |
61 | _\x81_\x81_\x87·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*_\x8v; | 61 | _\x81_\x81_\x87·_\x8C_\x8m_\x8o_\x8m_\x8e_\x8n_\x8t_\x8u_\x8m·*_\x8v; |
Offset 128, 9 lines modified | Offset 128, 13 lines modified | ||
128 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n | 128 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8:_\x8:_\x8c_\x8h_\x8i_\x8l_\x8d_\x8r_\x8e_\x8n |
129 | Cquadtree·*·children[2][2] | 129 | Cquadtree·*·children[2][2] |
130 | sub-cells·(·0,1->left-right;·0,1->bottom,top) | 130 | sub-cells·(·0,1->left-right;·0,1->bottom,top) |
131 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8._\x8h_\x8:_\x81_\x81_\x89 | 131 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8q_\x8u_\x8a_\x8d_\x8t_\x8r_\x8e_\x8e_\x8._\x8h_\x8:_\x81_\x81_\x89 |
132 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e | 132 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e |
133 | references·used·for·checksums. | 133 | references·used·for·checksums. |
134 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x83 | 134 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x84_\x83 |
135 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
136 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
137 | iterator; | ||
138 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
135 | =============================================================================== | 139 | =============================================================================== |
136 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 140 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 114, 20 lines modified | Offset 114, 20 lines modified | ||
114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 114 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
115 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> | 115 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>·</div> |
116 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//·incrementation·of·the·generator·state</span></div> | 116 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span><span·class="comment">//·incrementation·of·the·generator·state</span></div> |
117 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//---------------------------------------</span></div> | 117 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span><span·class="comment">//---------------------------------------</span></div> |
118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">static</span>·<span·class="keyword">inline</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·increment_state(){</div> | 118 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span><span·class="keyword">static</span>·<span·class="keyword">inline</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·increment_state(){</div> |
119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·local_ranlux_state.i;</div> | 119 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·i·=·local_ranlux_state.i;</div> |
120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·j·=·local_ranlux_state.j;</div> | 120 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·j·=·local_ranlux_state.j;</div> |
121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·delta·=·local_ranlux_state.u[j]·-·local_ranlux_state.u[i]·</div> | 121 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<span·class="keywordtype">long</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">delta</a>·=·local_ranlux_state.u[j]·-·local_ranlux_state.u[i]·</div> |
122 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····-·local_ranlux_state.carry;</div> | 122 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>····-·local_ranlux_state.carry;</div> |
123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 123 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordflow">if</span>·(delta·&·mask_hi){</div> | 124 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">delta</a>·&·mask_hi){</div> |
125 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····local_ranlux_state.carry·=·1;</div> | 125 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>····local_ranlux_state.carry·=·1;</div> |
126 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····delta·&=·mask_lo;</div> | 126 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>····<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">delta</a>·&=·mask_lo;</div> |
127 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}·<span·class="keywordflow">else</span>·{</div> | 127 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>··}·<span·class="keywordflow">else</span>·{</div> |
128 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····local_ranlux_state.carry·=·0;</div> | 128 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>····local_ranlux_state.carry·=·0;</div> |
129 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> | 129 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>··}</div> |
130 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> | 130 | <div·class="line"><a·id="l00075"·name="l00075"></a><span·class="lineno">···75</span>·</div> |
131 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··local_ranlux_state.u[i]·=·delta;</div> | 131 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··local_ranlux_state.u[i]·=·delta;</div> |
132 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··</div> | 132 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>··</div> |
133 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keywordflow">if</span>·(i==0)</div> | 133 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>··<span·class="keywordflow">if</span>·(i==0)</div> |
Offset 220, 14 lines modified | Offset 220, 15 lines modified | ||
220 | <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>··<span·class="keywordflow">for</span>·(i=0;i<n;i++){</div> | 220 | <div·class="line"><a·id="l00165"·name="l00165"></a><span·class="lineno">··165</span>··<span·class="keywordflow">for</span>·(i=0;i<n;i++){</div> |
221 | <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>····<span·class="comment">/*·FIXME:·we're·assuming·that·a·char·is·8·bits·*/</span></div> | 221 | <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span>····<span·class="comment">/*·FIXME:·we're·assuming·that·a·char·is·8·bits·*/</span></div> |
222 | <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>····printf(<span·class="stringliteral">"%.2x"</span>,·*(p+i));</div> | 222 | <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>····printf(<span·class="stringliteral">"%.2x"</span>,·*(p+i));</div> |
223 | <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>··}</div> | 223 | <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>··}</div> |
224 | <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>}</div> | 224 | <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>}</div> |
225 | <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>·</div> | 225 | <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>·</div> |
226 | <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>}</div> | 226 | <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>}</div> |
227 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
227 | <div·class="ttc"·id="aranlux_8h_html"><div·class="ttname"><a·href="ranlux_8h.html">ranlux.h</a></div></div> | 228 | <div·class="ttc"·id="aranlux_8h_html"><div·class="ttname"><a·href="ranlux_8h.html">ranlux.h</a></div></div> |
228 | <div·class="ttc"·id="astructsiscone_1_1ranlux__state__t_html"><div·class="ttname"><a·href="structsiscone_1_1ranlux__state__t.html">siscone::ranlux_state_t</a></div><div·class="ttdef"><b>Definition</b>·<a·href="ranlux_8cpp_source.html#l00046">ranlux.cpp:46</a></div></div> | 229 | <div·class="ttc"·id="astructsiscone_1_1ranlux__state__t_html"><div·class="ttname"><a·href="structsiscone_1_1ranlux__state__t.html">siscone::ranlux_state_t</a></div><div·class="ttdef"><b>Definition</b>·<a·href="ranlux_8cpp_source.html#l00046">ranlux.cpp:46</a></div></div> |
229 | </div><!--·fragment·--></div><!--·contents·--> | 230 | </div><!--·fragment·--></div><!--·contents·--> |
230 | <!--·start·footer·part·--> | 231 | <!--·start·footer·part·--> |
231 | <hr·class="footer"/><address·class="footer"><small> | 232 | <hr·class="footer"/><address·class="footer"><small> |
232 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 233 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
233 | </small></address> | 234 | </small></address> |
Offset 62, 20 lines modified | Offset 62, 20 lines modified | ||
62 | 59 | 62 | 59 |
63 | 60 | 63 | 60 |
64 | 61//·incrementation·of·the·generator·state | 64 | 61//·incrementation·of·the·generator·state |
65 | 62//--------------------------------------- | 65 | 62//--------------------------------------- |
66 | 63static·inline·unsigned·long·int·increment_state(){ | 66 | 63static·inline·unsigned·long·int·increment_state(){ |
67 | 64·unsigned·int·i·=·local_ranlux_state.i; | 67 | 64·unsigned·int·i·=·local_ranlux_state.i; |
68 | 65·unsigned·int·j·=·local_ranlux_state.j; | 68 | 65·unsigned·int·j·=·local_ranlux_state.j; |
69 | 66·long·int·delta·=·local_ranlux_state.u[j]·-·local_ranlux_state.u[i] | 69 | 66·long·int·_.d_.e_.l_.t_.a·=·local_ranlux_state.u[j]·-·local_ranlux_state.u[i] |
70 | 67·-·local_ranlux_state.carry; | 70 | 67·-·local_ranlux_state.carry; |
71 | 68 | 71 | 68 |
72 | 69·if·(delta·&·mask_hi){ | 72 | 69·if·(_.d_.e_.l_.t_.a·&·mask_hi){ |
73 | 70·local_ranlux_state.carry·=·1; | 73 | 70·local_ranlux_state.carry·=·1; |
74 | 71·delta·&=·mask_lo; | 74 | 71·_.d_.e_.l_.t_.a·&=·mask_lo; |
75 | 72·}·else·{ | 75 | 72·}·else·{ |
76 | 73·local_ranlux_state.carry·=·0; | 76 | 73·local_ranlux_state.carry·=·0; |
77 | 74·} | 77 | 74·} |
78 | 75 | 78 | 75 |
79 | 76·local_ranlux_state.u[i]·=·delta; | 79 | 76·local_ranlux_state.u[i]·=·delta; |
80 | 77 | 80 | 77 |
81 | 78·if·(i==0) | 81 | 78·if·(i==0) |
Offset 168, 12 lines modified | Offset 168, 16 lines modified | ||
168 | 165·for·(i=0;i<n;i++){ | 168 | 165·for·(i=0;i<n;i++){ |
169 | 166·/*·FIXME:·we're·assuming·that·a·char·is·8·bits·*/ | 169 | 166·/*·FIXME:·we're·assuming·that·a·char·is·8·bits·*/ |
170 | 167·printf("%.2x",·*(p+i)); | 170 | 167·printf("%.2x",·*(p+i)); |
171 | 168·} | 171 | 168·} |
172 | 169} | 172 | 169} |
173 | 170 | 173 | 170 |
174 | 171} | 174 | 171} |
175 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
176 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
177 | iterator; | ||
178 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
175 | _\x8r_\x8a_\x8n_\x8l_\x8u_\x8x_\x8._\x8h | 179 | _\x8r_\x8a_\x8n_\x8l_\x8u_\x8x_\x8._\x8h |
176 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8r_\x8a_\x8n_\x8l_\x8u_\x8x_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t | 180 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8r_\x8a_\x8n_\x8l_\x8u_\x8x_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t |
177 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8a_\x8n_\x8l_\x8u_\x8x_\x8._\x8c_\x8p_\x8p_\x8:_\x84_\x86 | 181 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8a_\x8n_\x8l_\x8u_\x8x_\x8._\x8c_\x8p_\x8p_\x8:_\x84_\x86 |
178 | =============================================================================== | 182 | =============================================================================== |
179 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 183 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 107, 23 lines modified | Offset 107, 23 lines modified | ||
107 | <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}"> | 107 | <div·class="foldopen"·id="foldopen00054"·data-start="{"·data-end="}"> |
108 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">···54</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">Creference::randomize</a>(){</div> | 108 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">···54</a></span><span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">Creference::randomize</a>(){</div> |
109 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··ref[0]·=·reference_bit;</span></div> | 109 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span><span·class="comment">//··ref[0]·=·reference_bit;</span></div> |
110 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··ref[1]·=·0;</span></div> | 110 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span><span·class="comment">//··ref[1]·=·0;</span></div> |
111 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··ref[2]·=·0;</span></div> | 111 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span><span·class="comment">//··ref[2]·=·0;</span></div> |
112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··reference_bit·<<=·1;</span></div> | 112 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="comment">//··reference_bit·<<=·1;</span></div> |
113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 113 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
114 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·r1·=·ranlux_get();</div> | 114 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r1</a>·=·ranlux_get();</div> |
115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·r2·=·ranlux_get();</div> | 115 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r2</a>·=·ranlux_get();</div> |
116 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·r3·=·ranlux_get();</div> | 116 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r3</a>·=·ranlux_get();</div> |
117 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·r4·=·ranlux_get();</div> | 117 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r4</a>·=·ranlux_get();</div> |
118 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="comment">//·since·ranlux·only·produces·24·bits,·take·r4·and·add·8·bits</span></div> | 118 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<span·class="comment">//·since·ranlux·only·produces·24·bits,·take·r4·and·add·8·bits</span></div> |
119 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·from·it·to·each·of·r1,r2,·r3·to·get·3*32·bits.</span></div> | 119 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>··<span·class="comment">//·from·it·to·each·of·r1,r2,·r3·to·get·3*32·bits.</span></div> |
120 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]·=·r1+((r4·&·0x00ff0000)·<<··8);</div> | 120 | <div·class="line"><a·id="l00066"·name="l00066"></a><span·class="lineno">···66</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r1</a>+((<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r4</a>·&·0x00ff0000)·<<··8);</div> |
121 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]·=·r2+((r4·&·0x0000ff00)·<<·16);</div> | 121 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r2</a>+((<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r4</a>·&·0x0000ff00)·<<·16);</div> |
122 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[2]·=·r3+((r4·&·0x000000ff)·<<·24);</div> | 122 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[2]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r3</a>+((<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r4</a>·&·0x000000ff)·<<·24);</div> |
123 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> | 123 | <div·class="line"><a·id="l00069"·name="l00069"></a><span·class="lineno">···69</span>·</div> |
124 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a2899510572ccf38c2c297b2efb5a4a97">is_empty</a>())·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">randomize</a>();</div> | 124 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno">···70</span>··<span·class="keywordflow">if</span>·(<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a2899510572ccf38c2c297b2efb5a4a97">is_empty</a>())·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">randomize</a>();</div> |
125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>}</div> | 125 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>}</div> |
126 | </div> | 126 | </div> |
127 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> | 127 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno">···72</span>·</div> |
128 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//·test·emptyness</span></div> | 128 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span><span·class="comment">//·test·emptyness</span></div> |
129 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//----------------</span></div> | 129 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span><span·class="comment">//----------------</span></div> |
Offset 140, 49 lines modified | Offset 140, 49 lines modified | ||
140 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]!=0)·||·(<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]!=0)·||·(<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[2]!=0);</div> | 140 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span>··<span·class="keywordflow">return</span>·(<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]!=0)·||·(<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]!=0)·||·(<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[2]!=0);</div> |
141 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}</div> | 141 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>}</div> |
142 | </div> | 142 | </div> |
143 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> | 143 | <div·class="line"><a·id="l00084"·name="l00084"></a><span·class="lineno">···84</span>·</div> |
144 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">//·assignment·of·reference</span></div> | 144 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="comment">//·assignment·of·reference</span></div> |
145 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//-------------------------</span></div> | 145 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span><span·class="comment">//-------------------------</span></div> |
146 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> | 146 | <div·class="foldopen"·id="foldopen00087"·data-start="{"·data-end="}"> |
147 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a3b521ec0357a651067f10163090f94bb">···87</a></span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a3b521ec0357a651067f10163090f94bb">Creference::operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&r){</div> | 147 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a3b521ec0357a651067f10163090f94bb">···87</a></span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a3b521ec0357a651067f10163090f94bb">Creference::operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>){</div> |
148 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]·=·r.<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0];··</div> | ||
149 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]·=·r.<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1];</div> | ||
150 | <div·class="line"><a·id="l000 | 148 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[0];··</div> |
149 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[1];</div> | ||
150 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[2]·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[2];</div> | ||
151 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> | 151 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span>··<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;</div> |
152 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}</div> | 152 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span>}</div> |
153 | </div> | 153 | </div> |
154 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> | 154 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>·</div> |
155 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment">//·addition·of·reference</span></div> | 155 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span><span·class="comment">//·addition·of·reference</span></div> |
156 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="comment">//-----------------------</span></div> | 156 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span><span·class="comment">//-----------------------</span></div> |
157 | <div·class="foldopen"·id="foldopen00096"·data-start="{"·data-end="}"> | 157 | <div·class="foldopen"·id="foldopen00096"·data-start="{"·data-end="}"> |
158 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a24f11afe25879914c7f0839f5f3a2f3b">···96</a></span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a24f11afe25879914c7f0839f5f3a2f3b">Creference::operator·+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&r){</div> | 158 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a24f11afe25879914c7f0839f5f3a2f3b">···96</a></span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a24f11afe25879914c7f0839f5f3a2f3b">Creference::operator·+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>){</div> |
159 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·tmp·=·*<span·class="keyword">this</span>;</div> | 159 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">tmp</a>·=·*<span·class="keyword">this</span>;</div> |
160 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keywordflow">return</span>·tmp+=r;</div> | 160 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>··<span·class="keywordflow">return</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">tmp</a>+=<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>;</div> |
161 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>}</div> | 161 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>}</div> |
162 | </div> | 162 | </div> |
163 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | 163 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> |
164 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">//·incrementation·of·reference</span></div> | 164 | <div·class="line"><a·id="l00101"·name="l00101"></a><span·class="lineno">··101</span><span·class="comment">//·incrementation·of·reference</span></div> |
165 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="comment">//-----------------------------</span></div> | 165 | <div·class="line"><a·id="l00102"·name="l00102"></a><span·class="lineno">··102</span><span·class="comment">//-----------------------------</span></div> |
166 | <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="}"> | 166 | <div·class="foldopen"·id="foldopen00103"·data-start="{"·data-end="}"> |
167 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">··103</a></span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">Creference::operator·+=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&r){</div> | 167 | <div·class="line"><a·id="l00103"·name="l00103"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">··103</a></span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">Creference::operator·+=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>){</div> |
168 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]·^=·r.<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0];··</div> | ||
169 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]·^=·r.<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1];</div> | ||
170 | <div·class="line"><a·id="l0010 | 168 | <div·class="line"><a·id="l00104"·name="l00104"></a><span·class="lineno">··104</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]·^=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[0];··</div> |
169 | <div·class="line"><a·id="l00105"·name="l00105"></a><span·class="lineno">··105</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]·^=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[1];</div> | ||
170 | <div·class="line"><a·id="l00106"·name="l00106"></a><span·class="lineno">··106</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[2]·^=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[2];</div> | ||
171 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·</div> | 171 | <div·class="line"><a·id="l00107"·name="l00107"></a><span·class="lineno">··107</span>··<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·</div> |
172 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}</div> | 172 | <div·class="line"><a·id="l00108"·name="l00108"></a><span·class="lineno">··108</span>}</div> |
173 | </div> | 173 | </div> |
174 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> | 174 | <div·class="line"><a·id="l00109"·name="l00109"></a><span·class="lineno">··109</span>·</div> |
175 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="comment">//·decrementation·of·reference</span></div> | 175 | <div·class="line"><a·id="l00110"·name="l00110"></a><span·class="lineno">··110</span><span·class="comment">//·decrementation·of·reference</span></div> |
176 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="comment">//-----------------------------</span></div> | 176 | <div·class="line"><a·id="l00111"·name="l00111"></a><span·class="lineno">··111</span><span·class="comment">//-----------------------------</span></div> |
177 | <div·class="foldopen"·id="foldopen00112"·data-start="{"·data-end="}"> | 177 | <div·class="foldopen"·id="foldopen00112"·data-start="{"·data-end="}"> |
178 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">··112</a></span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">Creference::operator·-=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&r){</div> | 178 | <div·class="line"><a·id="l00112"·name="l00112"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">··112</a></span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">Creference::operator·-=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>){</div> |
179 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]·^=·r.<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0];··</div> | ||
180 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]·^=·r.<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1];</div> | ||
181 | <div·class="line"><a·id="l0011 | 179 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[0]·^=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[0];··</div> |
180 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[1]·^=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[1];</div> | ||
181 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>··<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[2]·^=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>.ref[2];</div> | ||
182 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·</div> | 182 | <div·class="line"><a·id="l00116"·name="l00116"></a><span·class="lineno">··116</span>··<span·class="keywordflow">return</span>·*<span·class="keyword">this</span>;·</div> |
183 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}</div> | 183 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno">··117</span>}</div> |
184 | </div> | 184 | </div> |
185 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> | 185 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> |
186 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>}</div> | 186 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>}</div> |
187 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> | 187 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno">··120</span>·</div> |
188 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> | 188 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html"><div·class="ttname"><a·href="classsiscone_1_1Creference.html">siscone::Creference</a></div><div·class="ttdoc">references·used·for·checksums.</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00043">reference.h:43</a></div></div> |
Offset 191, 14 lines modified | Offset 191, 15 lines modified | ||
191 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a3b521ec0357a651067f10163090f94bb"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a3b521ec0357a651067f10163090f94bb">siscone::Creference::operator=</a></div><div·class="ttdeci">Creference·&·operator=(const·Creference·&r)</div><div·class="ttdoc">assignment·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00087">reference.cpp:87</a></div></div> | 191 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a3b521ec0357a651067f10163090f94bb"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a3b521ec0357a651067f10163090f94bb">siscone::Creference::operator=</a></div><div·class="ttdeci">Creference·&·operator=(const·Creference·&r)</div><div·class="ttdoc">assignment·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00087">reference.cpp:87</a></div></div> |
192 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a59d27a3763cdb2f5161517b0f98f2a81"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a59d27a3763cdb2f5161517b0f98f2a81">siscone::Creference::Creference</a></div><div·class="ttdeci">Creference()</div><div·class="ttdoc">default·constructor</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00046">reference.cpp:46</a></div></div> | 192 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a59d27a3763cdb2f5161517b0f98f2a81"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a59d27a3763cdb2f5161517b0f98f2a81">siscone::Creference::Creference</a></div><div·class="ttdeci">Creference()</div><div·class="ttdoc">default·constructor</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00046">reference.cpp:46</a></div></div> |
193 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a5d6596eead93f80ff48d0b756aa36bc1"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">siscone::Creference::randomize</a></div><div·class="ttdeci">void·randomize()</div><div·class="ttdoc">create·a·random·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00054">reference.cpp:54</a></div></div> | 193 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a5d6596eead93f80ff48d0b756aa36bc1"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">siscone::Creference::randomize</a></div><div·class="ttdeci">void·randomize()</div><div·class="ttdoc">create·a·random·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00054">reference.cpp:54</a></div></div> |
194 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a88fa637afafd5c6c934b7dcdb3c5ca3e"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">siscone::Creference::operator+=</a></div><div·class="ttdeci">Creference·&·operator+=(const·Creference·&r)</div><div·class="ttdoc">incrementation·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00103">reference.cpp:103</a></div></div> | 194 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a88fa637afafd5c6c934b7dcdb3c5ca3e"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">siscone::Creference::operator+=</a></div><div·class="ttdeci">Creference·&·operator+=(const·Creference·&r)</div><div·class="ttdoc">incrementation·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00103">reference.cpp:103</a></div></div> |
195 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a8f680bf54a83b561bfd97a5654d9ae54"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a8f680bf54a83b561bfd97a5654d9ae54">siscone::Creference::not_empty</a></div><div·class="ttdeci">bool·not_empty()</div><div·class="ttdoc">test·non-emptyness</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00081">reference.cpp:81</a></div></div> | 195 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a8f680bf54a83b561bfd97a5654d9ae54"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a8f680bf54a83b561bfd97a5654d9ae54">siscone::Creference::not_empty</a></div><div·class="ttdeci">bool·not_empty()</div><div·class="ttdoc">test·non-emptyness</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00081">reference.cpp:81</a></div></div> |
196 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a92ed1b0f366ba1dce748ef1381494c15"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">siscone::Creference::operator-=</a></div><div·class="ttdeci">Creference·&·operator-=(const·Creference·&r)</div><div·class="ttdoc">decrementation·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00112">reference.cpp:112</a></div></div> | 196 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a92ed1b0f366ba1dce748ef1381494c15"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">siscone::Creference::operator-=</a></div><div·class="ttdeci">Creference·&·operator-=(const·Creference·&r)</div><div·class="ttdoc">decrementation·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00112">reference.cpp:112</a></div></div> |
197 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a9e21fdb505698e0ffc18e570a724d18b"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">siscone::Creference::ref</a></div><div·class="ttdeci">unsigned·int·ref[3]</div><div·class="ttdoc">actual·data·for·the·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00072">reference.h:72</a></div></div> | 197 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a9e21fdb505698e0ffc18e570a724d18b"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">siscone::Creference::ref</a></div><div·class="ttdeci">unsigned·int·ref[3]</div><div·class="ttdoc">actual·data·for·the·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00072">reference.h:72</a></div></div> |
198 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
198 | <div·class="ttc"·id="aranlux_8h_html"><div·class="ttname"><a·href="ranlux_8h.html">ranlux.h</a></div></div> | 199 | <div·class="ttc"·id="aranlux_8h_html"><div·class="ttname"><a·href="ranlux_8h.html">ranlux.h</a></div></div> |
199 | </div><!--·fragment·--></div><!--·contents·--> | 200 | </div><!--·fragment·--></div><!--·contents·--> |
200 | <!--·start·footer·part·--> | 201 | <!--·start·footer·part·--> |
201 | <hr·class="footer"/><address·class="footer"><small> | 202 | <hr·class="footer"/><address·class="footer"><small> |
202 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 203 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
203 | </small></address> | 204 | </small></address> |
204 | </body> | 205 | </body> |
Offset 55, 23 lines modified | Offset 55, 23 lines modified | ||
55 | 53//--------------------------- | 55 | 53//--------------------------- |
56 | _\x85_\x84void·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8i_\x8z_\x8e(){ | 56 | _\x85_\x84void·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8i_\x8z_\x8e(){ |
57 | 55//·ref[0]·=·reference_bit; | 57 | 55//·ref[0]·=·reference_bit; |
58 | 56//·ref[1]·=·0; | 58 | 56//·ref[1]·=·0; |
59 | 57//·ref[2]·=·0; | 59 | 57//·ref[2]·=·0; |
60 | 58//·reference_bit·<<=·1; | 60 | 58//·reference_bit·<<=·1; |
61 | 59 | 61 | 59 |
62 | 60·unsigned·int·r1·=·ranlux_get(); | 62 | 60·unsigned·int·_.r_.1·=·ranlux_get(); |
63 | 61·unsigned·int·r2·=·ranlux_get(); | 63 | 61·unsigned·int·_.r_.2·=·ranlux_get(); |
64 | 62·unsigned·int·r3·=·ranlux_get(); | 64 | 62·unsigned·int·_.r_.3·=·ranlux_get(); |
65 | 63·unsigned·int·r4·=·ranlux_get(); | 65 | 63·unsigned·int·_.r_.4·=·ranlux_get(); |
66 | 64·//·since·ranlux·only·produces·24·bits,·take·r4·and·add·8·bits | 66 | 64·//·since·ranlux·only·produces·24·bits,·take·r4·and·add·8·bits |
67 | 65·//·from·it·to·each·of·r1,r2,·r3·to·get·3*32·bits. | 67 | 65·//·from·it·to·each·of·r1,r2,·r3·to·get·3*32·bits. |
68 | 66·_\x8r_\x8e_\x8f[0]·=·r1+((r4·&·0x00ff0000)·<<·8); | 68 | 66·_\x8r_\x8e_\x8f[0]·=·_.r_.1+((_.r_.4·&·0x00ff0000)·<<·8); |
69 | 67·_\x8r_\x8e_\x8f[1]·=·r2+((r4·&·0x0000ff00)·<<·16); | 69 | 67·_\x8r_\x8e_\x8f[1]·=·_.r_.2+((_.r_.4·&·0x0000ff00)·<<·16); |
70 | 68·_\x8r_\x8e_\x8f[2]·=·r3+((r4·&·0x000000ff)·<<·24); | 70 | 68·_\x8r_\x8e_\x8f[2]·=·_.r_.3+((_.r_.4·&·0x000000ff)·<<·24); |
71 | 69 | 71 | 69 |
72 | 70·if·(_\x8i_\x8s_\x8__\x8e_\x8m_\x8p_\x8t_\x8y())·_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8i_\x8z_\x8e(); | 72 | 70·if·(_\x8i_\x8s_\x8__\x8e_\x8m_\x8p_\x8t_\x8y())·_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8i_\x8z_\x8e(); |
73 | 71} | 73 | 71} |
74 | 72 | 74 | 72 |
75 | 73//·test·emptyness | 75 | 73//·test·emptyness |
76 | 74//---------------- | 76 | 74//---------------- |
77 | _\x87_\x85bool·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8i_\x8s_\x8__\x8e_\x8m_\x8p_\x8t_\x8y(){ | 77 | _\x87_\x85bool·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8i_\x8s_\x8__\x8e_\x8m_\x8p_\x8t_\x8y(){ |
Offset 82, 43 lines modified | Offset 82, 43 lines modified | ||
82 | 80//-------------------- | 82 | 80//-------------------- |
83 | _\x88_\x81bool·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8n_\x8o_\x8t_\x8__\x8e_\x8m_\x8p_\x8t_\x8y(){ | 83 | _\x88_\x81bool·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8n_\x8o_\x8t_\x8__\x8e_\x8m_\x8p_\x8t_\x8y(){ |
84 | 82·return·(_\x8r_\x8e_\x8f[0]!=0)·||·(_\x8r_\x8e_\x8f[1]!=0)·||·(_\x8r_\x8e_\x8f[2]!=0); | 84 | 82·return·(_\x8r_\x8e_\x8f[0]!=0)·||·(_\x8r_\x8e_\x8f[1]!=0)·||·(_\x8r_\x8e_\x8f[2]!=0); |
85 | 83} | 85 | 83} |
86 | 84 | 86 | 84 |
87 | 85//·assignment·of·reference | 87 | 85//·assignment·of·reference |
88 | 86//------------------------- | 88 | 86//------------------------- |
89 | _\x88_\x87_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&r){ | 89 | _\x88_\x87_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&_.r){ |
90 | 88·_\x8r_\x8e_\x8f[0]·=· | 90 | 88·_\x8r_\x8e_\x8f[0]·=·_.r.ref[0]; |
91 | 89·_\x8r_\x8e_\x8f[1]·=· | 91 | 89·_\x8r_\x8e_\x8f[1]·=·_.r.ref[1]; |
92 | 90·_\x8r_\x8e_\x8f[2]·=· | 92 | 90·_\x8r_\x8e_\x8f[2]·=·_.r.ref[2]; |
93 | 91·return·*this; | 93 | 91·return·*this; |
94 | 92} | 94 | 92} |
95 | 93 | 95 | 93 |
96 | 94//·addition·of·reference | 96 | 94//·addition·of·reference |
97 | 95//----------------------- | 97 | 95//----------------------- |
98 | _\x89_\x86_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&r){ | 98 | _\x89_\x86_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&_.r){ |
99 | 97·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·tmp·=·*this; | 99 | 97·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_.t_.m_.p·=·*this; |
100 | 98·return·tmp+=r; | 100 | 98·return·_.t_.m_.p+=_.r; |
101 | 99} | 101 | 99} |
102 | 100 | 102 | 100 |
103 | 101//·incrementation·of·reference | 103 | 101//·incrementation·of·reference |
104 | 102//----------------------------- | 104 | 102//----------------------------- |
105 | _\x81_\x80_\x83_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&r){ | 105 | _\x81_\x80_\x83_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&_.r){ |
106 | 104·_\x8r_\x8e_\x8f[0]·^=· | 106 | 104·_\x8r_\x8e_\x8f[0]·^=·_.r.ref[0]; |
107 | 105·_\x8r_\x8e_\x8f[1]·^=· | 107 | 105·_\x8r_\x8e_\x8f[1]·^=·_.r.ref[1]; |
108 | 106·_\x8r_\x8e_\x8f[2]·^=· | 108 | 106·_\x8r_\x8e_\x8f[2]·^=·_.r.ref[2]; |
109 | 107·return·*this; | 109 | 107·return·*this; |
110 | 108} | 110 | 108} |
111 | 109 | 111 | 109 |
112 | 110//·decrementation·of·reference | 112 | 110//·decrementation·of·reference |
113 | 111//----------------------------- | 113 | 111//----------------------------- |
114 | _\x81_\x81_\x82_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8-_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&r){ | 114 | _\x81_\x81_\x82_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8-_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&_.r){ |
115 | 113·_\x8r_\x8e_\x8f[0]·^=· | 115 | 113·_\x8r_\x8e_\x8f[0]·^=·_.r.ref[0]; |
116 | 114·_\x8r_\x8e_\x8f[1]·^=· | 116 | 114·_\x8r_\x8e_\x8f[1]·^=·_.r.ref[1]; |
117 | 115·_\x8r_\x8e_\x8f[2]·^=· | 117 | 115·_\x8r_\x8e_\x8f[2]·^=·_.r.ref[2]; |
118 | 116·return·*this; | 118 | 116·return·*this; |
119 | 117} | 119 | 117} |
120 | 118 | 120 | 118 |
121 | 119} | 121 | 119} |
122 | 120 | 122 | 120 |
123 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e | 123 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e |
124 | references·used·for·checksums. | 124 | references·used·for·checksums. |
Offset 155, 10 lines modified | Offset 155, 14 lines modified | ||
155 | Creference·&·operator-=(const·Creference·&r) | 155 | Creference·&·operator-=(const·Creference·&r) |
156 | decrementation·of·reference | 156 | decrementation·of·reference |
157 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x81_\x82 | 157 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x81_\x82 |
158 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8e_\x8f | 158 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8e_\x8f |
159 | unsigned·int·ref[3] | 159 | unsigned·int·ref[3] |
160 | actual·data·for·the·reference | 160 | actual·data·for·the·reference |
161 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x87_\x82 | 161 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x87_\x82 |
162 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
163 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
164 | iterator; | ||
165 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
162 | _\x8r_\x8a_\x8n_\x8l_\x8u_\x8x_\x8._\x8h | 166 | _\x8r_\x8a_\x8n_\x8l_\x8u_\x8x_\x8._\x8h |
163 | =============================================================================== | 167 | =============================================================================== |
164 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 168 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 88, 43 lines modified | Offset 88, 43 lines modified | ||
88 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> | 88 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>·</div> |
89 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">randomize</a>();</div> | 89 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>··<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">randomize</a>();</div> |
90 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> | 90 | <div·class="line"><a·id="l00050"·name="l00050"></a><span·class="lineno">···50</span>·</div> |
91 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a2899510572ccf38c2c297b2efb5a4a97">is_empty</a>();</div> | 91 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a2899510572ccf38c2c297b2efb5a4a97">is_empty</a>();</div> |
92 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> | 92 | <div·class="line"><a·id="l00053"·name="l00053"></a><span·class="lineno">···53</span>·</div> |
93 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a8f680bf54a83b561bfd97a5654d9ae54">not_empty</a>();</div> | 93 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>··<span·class="keywordtype">bool</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a8f680bf54a83b561bfd97a5654d9ae54">not_empty</a>();</div> |
94 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> | 94 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>·</div> |
95 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a3b521ec0357a651067f10163090f94bb">operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&r);</div> | 95 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a3b521ec0357a651067f10163090f94bb">operator·=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>);</div> |
96 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> | 96 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>·</div> |
97 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a24f11afe25879914c7f0839f5f3a2f3b">operator·+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&r);</div> | 97 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a24f11afe25879914c7f0839f5f3a2f3b">operator·+·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>);</div> |
98 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> | 98 | <div·class="line"><a·id="l00062"·name="l00062"></a><span·class="lineno">···62</span>·</div> |
99 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">operator·+=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&r);</div> | 99 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">operator·+=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>);</div> |
100 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> | 100 | <div·class="line"><a·id="l00065"·name="l00065"></a><span·class="lineno">···65</span>·</div> |
101 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">operator·-=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&r);</div> | 101 | <div·class="line"><a·id="l00067"·name="l00067"></a><span·class="lineno">···67</span>··<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>&·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">operator·-=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r</a>);</div> |
102 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> | 102 | <div·class="line"><a·id="l00068"·name="l00068"></a><span·class="lineno">···68</span>·</div> |
103 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a4339cd275450c353fbd233cccd7720aa">···70</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a4339cd275450c353fbd233cccd7720aa">operator[]·</a>(<span·class="keywordtype">int</span>·i)·{<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[i];}</div> | 103 | <div·class="line"><a·id="l00070"·name="l00070"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a4339cd275450c353fbd233cccd7720aa">···70</a></span>··<span·class="keyword">inline</span>·<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Creference.html#a4339cd275450c353fbd233cccd7720aa">operator[]·</a>(<span·class="keywordtype">int</span>·i)·{<span·class="keywordflow">return</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[i];}</div> |
104 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> | 104 | <div·class="line"><a·id="l00071"·name="l00071"></a><span·class="lineno">···71</span>·</div> |
105 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">···72</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[3];···</div> | 105 | <div·class="line"><a·id="l00072"·name="l00072"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">···72</a></span>··<span·class="keywordtype">unsigned</span>·<span·class="keywordtype">int</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">ref</a>[3];···</div> |
106 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>};</div> | 106 | <div·class="line"><a·id="l00073"·name="l00073"></a><span·class="lineno">···73</span>};</div> |
107 | </div> | 107 | </div> |
108 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> | 108 | <div·class="line"><a·id="l00074"·name="l00074"></a><span·class="lineno">···74</span>·</div> |
109 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·operator·+·(<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·& | 109 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span><a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">operator·+·</a>(<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r1</a>,·<a·class="code·hl_cl[·...·truncated·by·diffoscope;·len:·134,·SHA:·f8771740b27fca43b6b55f09e3d224ec244117253f266c2b370078cd79b875b9·...·]);</div> |
110 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> | 110 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>·</div> |
111 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keywordtype">bool</span>· | 111 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span><span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">operator·==·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulato[·...·truncated·by·diffoscope;·len:·205,·SHA:·61d6ba46a14b12857513b0dccd8c2b5e0548cd2e69a7803c0ed0924fffe87eb4·...·]);</div> |
112 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> | 112 | <div·class="line"><a·id="l00080"·name="l00080"></a><span·class="lineno">···80</span>·</div> |
113 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keywordtype">bool</span>· | 113 | <div·class="line"><a·id="l00082"·name="l00082"></a><span·class="lineno">···82</span><span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">operator·!=·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulato[·...·truncated·by·diffoscope;·len:·205,·SHA:·61d6ba46a14b12857513b0dccd8c2b5e0548cd2e69a7803c0ed0924fffe87eb4·...·]);</div> |
114 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> | 114 | <div·class="line"><a·id="l00083"·name="l00083"></a><span·class="lineno">···83</span>·</div> |
115 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keywordtype">bool</span>· | 115 | <div·class="line"><a·id="l00085"·name="l00085"></a><span·class="lineno">···85</span><span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">operator·<·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circula[·...·truncated·by·diffoscope;·len:·207,·SHA:·20cc0637736106c22f43c423f7b1188a27f87bf60455bd84c697b68bfe69813c·...·]);</div> |
116 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> | 116 | <div·class="line"><a·id="l00086"·name="l00086"></a><span·class="lineno">···86</span>·</div> |
117 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> | 117 | <div·class="line"><a·id="l00087"·name="l00087"></a><span·class="lineno">···87</span>·</div> |
118 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">//===============·inline·material·================</span></div> | 118 | <div·class="line"><a·id="l00088"·name="l00088"></a><span·class="lineno">···88</span><span·class="comment">//===============·inline·material·================</span></div> |
119 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> | 119 | <div·class="line"><a·id="l00089"·name="l00089"></a><span·class="lineno">···89</span>·</div> |
120 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">//·equality·test·for·two·references</span></div> | 120 | <div·class="line"><a·id="l00090"·name="l00090"></a><span·class="lineno">···90</span><span·class="comment">//·equality·test·for·two·references</span></div> |
121 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="comment">//----------------------------------</span></div> | 121 | <div·class="line"><a·id="l00091"·name="l00091"></a><span·class="lineno">···91</span><span·class="comment">//----------------------------------</span></div> |
122 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>· | 122 | <div·class="line"><a·id="l00092"·name="l00092"></a><span·class="lineno">···92</span><span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">operator·==·</a>(<span·class="keyword">const</span>·<a·class="code·hl_class"·href="classsiscone_1_1Creference.html">Creference</a>·&<a·class="code·hl_class"·href="classsiscone_1_1circulato[·...·truncated·by·diffoscope;·len:·205,·SHA:·61d6ba46a14b12857513b0dccd8c2b5e0548cd2e69a7803c0ed0924fffe87eb4·...·]){</div> |
123 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keywordflow">return</span>·( | 123 | <div·class="line"><a·id="l00093"·name="l00093"></a><span·class="lineno">···93</span>··<span·class="keywordflow">return</span>·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r1</a>.ref[0]==<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r2</a>.ref[0])·&&·(<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">r1</a>.ref[1]==<a·clas[·...·truncated·by·diffoscope;·len:·237,·SHA:·1826435d802b0857c432dd947a17ac8038de2bb5c4f7753232fe8f62dca512f4·...·][2]);</div> |
124 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>}</div> | 124 | <div·class="line"><a·id="l00094"·name="l00094"></a><span·class="lineno">···94</span>}</div> |
125 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> | 125 | <div·class="line"><a·id="l00095"·name="l00095"></a><span·class="lineno">···95</span>·</div> |
126 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//·difference·test·for·two·references</span></div> | 126 | <div·class="line"><a·id="l00096"·name="l00096"></a><span·class="lineno">···96</span><span·class="comment">//·difference·test·for·two·references</span></div> |
127 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">//----------------------------------</span></div> | 127 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span><span·class="comment">//----------------------------------</span></div> |
128 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·operator·!=·(<span·class="keyword">const</span>·Creference·&r1,·<span·class="keyword">const</span>·Creference·&r2){</div> | 128 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span><span·class="keyword">inline</span>·<span·class="keywordtype">bool</span>·operator·!=·(<span·class="keyword">const</span>·Creference·&r1,·<span·class="keyword">const</span>·Creference·&r2){</div> |
129 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keywordflow">return</span>·(r1.ref[0]!=r2.ref[0])·||·(r1.ref[1]!=r2.ref[1])·||·(r1.ref[2]!=r2.ref[2]);</div> | 129 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>··<span·class="keywordflow">return</span>·(r1.ref[0]!=r2.ref[0])·||·(r1.ref[1]!=r2.ref[1])·||·(r1.ref[2]!=r2.ref[2]);</div> |
130 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>}</div> | 130 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>}</div> |
Offset 146, 14 lines modified | Offset 146, 15 lines modified | ||
146 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a4339cd275450c353fbd233cccd7720aa"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a4339cd275450c353fbd233cccd7720aa">siscone::Creference::operator[]</a></div><div·class="ttdeci">unsigned·int·operator[](int·i)</div><div·class="ttdoc">accessing·the·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00070">reference.h:70</a></div></div> | 146 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a4339cd275450c353fbd233cccd7720aa"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a4339cd275450c353fbd233cccd7720aa">siscone::Creference::operator[]</a></div><div·class="ttdeci">unsigned·int·operator[](int·i)</div><div·class="ttdoc">accessing·the·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00070">reference.h:70</a></div></div> |
147 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a59d27a3763cdb2f5161517b0f98f2a81"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a59d27a3763cdb2f5161517b0f98f2a81">siscone::Creference::Creference</a></div><div·class="ttdeci">Creference()</div><div·class="ttdoc">default·constructor</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00046">reference.cpp:46</a></div></div> | 147 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a59d27a3763cdb2f5161517b0f98f2a81"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a59d27a3763cdb2f5161517b0f98f2a81">siscone::Creference::Creference</a></div><div·class="ttdeci">Creference()</div><div·class="ttdoc">default·constructor</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00046">reference.cpp:46</a></div></div> |
148 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a5d6596eead93f80ff48d0b756aa36bc1"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">siscone::Creference::randomize</a></div><div·class="ttdeci">void·randomize()</div><div·class="ttdoc">create·a·random·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00054">reference.cpp:54</a></div></div> | 148 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a5d6596eead93f80ff48d0b756aa36bc1"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a5d6596eead93f80ff48d0b756aa36bc1">siscone::Creference::randomize</a></div><div·class="ttdeci">void·randomize()</div><div·class="ttdoc">create·a·random·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00054">reference.cpp:54</a></div></div> |
149 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a88fa637afafd5c6c934b7dcdb3c5ca3e"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">siscone::Creference::operator+=</a></div><div·class="ttdeci">Creference·&·operator+=(const·Creference·&r)</div><div·class="ttdoc">incrementation·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00103">reference.cpp:103</a></div></div> | 149 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a88fa637afafd5c6c934b7dcdb3c5ca3e"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a88fa637afafd5c6c934b7dcdb3c5ca3e">siscone::Creference::operator+=</a></div><div·class="ttdeci">Creference·&·operator+=(const·Creference·&r)</div><div·class="ttdoc">incrementation·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00103">reference.cpp:103</a></div></div> |
150 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a8f680bf54a83b561bfd97a5654d9ae54"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a8f680bf54a83b561bfd97a5654d9ae54">siscone::Creference::not_empty</a></div><div·class="ttdeci">bool·not_empty()</div><div·class="ttdoc">test·non-emptyness</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00081">reference.cpp:81</a></div></div> | 150 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a8f680bf54a83b561bfd97a5654d9ae54"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a8f680bf54a83b561bfd97a5654d9ae54">siscone::Creference::not_empty</a></div><div·class="ttdeci">bool·not_empty()</div><div·class="ttdoc">test·non-emptyness</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00081">reference.cpp:81</a></div></div> |
151 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a92ed1b0f366ba1dce748ef1381494c15"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">siscone::Creference::operator-=</a></div><div·class="ttdeci">Creference·&·operator-=(const·Creference·&r)</div><div·class="ttdoc">decrementation·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00112">reference.cpp:112</a></div></div> | 151 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a92ed1b0f366ba1dce748ef1381494c15"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a92ed1b0f366ba1dce748ef1381494c15">siscone::Creference::operator-=</a></div><div·class="ttdeci">Creference·&·operator-=(const·Creference·&r)</div><div·class="ttdoc">decrementation·of·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8cpp_source.html#l00112">reference.cpp:112</a></div></div> |
152 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a9e21fdb505698e0ffc18e570a724d18b"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">siscone::Creference::ref</a></div><div·class="ttdeci">unsigned·int·ref[3]</div><div·class="ttdoc">actual·data·for·the·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00072">reference.h:72</a></div></div> | 152 | <div·class="ttc"·id="aclasssiscone_1_1Creference_html_a9e21fdb505698e0ffc18e570a724d18b"><div·class="ttname"><a·href="classsiscone_1_1Creference.html#a9e21fdb505698e0ffc18e570a724d18b">siscone::Creference::ref</a></div><div·class="ttdeci">unsigned·int·ref[3]</div><div·class="ttdoc">actual·data·for·the·reference</div><div·class="ttdef"><b>Definition</b>·<a·href="reference_8h_source.html#l00072">reference.h:72</a></div></div> |
153 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
153 | </div><!--·fragment·--></div><!--·contents·--> | 154 | </div><!--·fragment·--></div><!--·contents·--> |
154 | <!--·start·footer·part·--> | 155 | <!--·start·footer·part·--> |
155 | <hr·class="footer"/><address·class="footer"><small> | 156 | <hr·class="footer"/><address·class="footer"><small> |
156 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 157 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
157 | </small></address> | 158 | </small></address> |
158 | </body> | 159 | </body> |
159 | </html> | 160 | </html> |
Offset 38, 43 lines modified | Offset 38, 43 lines modified | ||
38 | 47 | 38 | 47 |
39 | 49·void·_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8i_\x8z_\x8e(); | 39 | 49·void·_\x8r_\x8a_\x8n_\x8d_\x8o_\x8m_\x8i_\x8z_\x8e(); |
40 | 50 | 40 | 50 |
41 | 52·bool·_\x8i_\x8s_\x8__\x8e_\x8m_\x8p_\x8t_\x8y(); | 41 | 52·bool·_\x8i_\x8s_\x8__\x8e_\x8m_\x8p_\x8t_\x8y(); |
42 | 53 | 42 | 53 |
43 | 55·bool·_\x8n_\x8o_\x8t_\x8__\x8e_\x8m_\x8p_\x8t_\x8y(); | 43 | 55·bool·_\x8n_\x8o_\x8t_\x8__\x8e_\x8m_\x8p_\x8t_\x8y(); |
44 | 56 | 44 | 56 |
45 | 58·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&r); | 45 | 58·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&_.r); |
46 | 59 | 46 | 59 |
47 | 61·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&r); | 47 | 61·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&_.r); |
48 | 62 | 48 | 62 |
49 | 64·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&r); | 49 | 64·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8+_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&_.r); |
50 | 65 | 50 | 65 |
51 | 67·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8-_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&r); | 51 | 67·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e&·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8·_\x8-_\x8=_\x8·(const·_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·&_.r); |
52 | 68 | 52 | 68 |
53 | _\x87_\x80·inline·unsigned·int·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8·(int·i)·{return·_\x8r_\x8e_\x8f[i];} | 53 | _\x87_\x80·inline·unsigned·int·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8·(int·i)·{return·_\x8r_\x8e_\x8f[i];} |
54 | 71 | 54 | 71 |
55 | _\x87_\x82·unsigned·int·_\x8r_\x8e_\x8f[3]; | 55 | _\x87_\x82·unsigned·int·_\x8r_\x8e_\x8f[3]; |
56 | 73}; | 56 | 73}; |
57 | 74 | 57 | 74 |
58 | 76_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·operator·+·(_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r1,·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r2); | 58 | 76_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e·_.o_.p_.e_.r_.a_.t_.o_.r_.·_.+_.·(_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.1,·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.2); |
59 | 77 | 59 | 77 |
60 | 79bool·operator·==·(const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r1,·const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r2); | 60 | 79bool·_.o_.p_.e_.r_.a_.t_.o_.r_.·_.=_.=_.·(const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.1,·const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.2); |
61 | 80 | 61 | 80 |
62 | 82bool·operator·!=·(const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r1,·const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r2); | 62 | 82bool·_.o_.p_.e_.r_.a_.t_.o_.r_.·_.!_.=_.·(const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.1,·const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.2); |
63 | 83 | 63 | 83 |
64 | 85bool·operator·<·(const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r1,·const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r2); | 64 | 85bool·_.o_.p_.e_.r_.a_.t_.o_.r_.·_.<_.·(const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.1,·const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.2); |
65 | 86 | 65 | 86 |
66 | 87 | 66 | 87 |
67 | 88//===============·inline·material·================ | 67 | 88//===============·inline·material·================ |
68 | 89 | 68 | 89 |
69 | 90//·equality·test·for·two·references | 69 | 90//·equality·test·for·two·references |
70 | 91//---------------------------------- | 70 | 91//---------------------------------- |
71 | 92inline·bool·operator·==·(const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r1,·const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&r2){ | 71 | 92inline·bool·_.o_.p_.e_.r_.a_.t_.o_.r_.·_.=_.=_.·(const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.1,·const·_.C_.r_.e_.f_.e_.r_.e_.n_.c_.e·&_.r_.2){ |
72 | 93·return·( | 72 | 93·return·(_.r_.1.ref[0]==_.r_.2.ref[0])·&&·(_.r_.1.ref[1]==_.r_.2.ref[1])·&&·(_.r_.1.ref |
73 | [2]== | 73 | [2]==_.r_.2.ref[2]); |
74 | 94} | 74 | 94} |
75 | 95 | 75 | 95 |
76 | 96//·difference·test·for·two·references | 76 | 96//·difference·test·for·two·references |
77 | 97//---------------------------------- | 77 | 97//---------------------------------- |
78 | 98inline·bool·operator·!=·(const·Creference·&r1,·const·Creference·&r2){ | 78 | 98inline·bool·operator·!=·(const·Creference·&r1,·const·Creference·&r2){ |
79 | 99·return·(r1.ref[0]!=r2.ref[0])·||·(r1.ref[1]!=r2.ref[1])·||·(r1.ref | 79 | 99·return·(r1.ref[0]!=r2.ref[0])·||·(r1.ref[1]!=r2.ref[1])·||·(r1.ref |
80 | [2]!=r2.ref[2]); | 80 | [2]!=r2.ref[2]); |
Offset 129, 9 lines modified | Offset 129, 13 lines modified | ||
129 | Creference·&·operator-=(const·Creference·&r) | 129 | Creference·&·operator-=(const·Creference·&r) |
130 | decrementation·of·reference | 130 | decrementation·of·reference |
131 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x81_\x82 | 131 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x81_\x82 |
132 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8e_\x8f | 132 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8:_\x8:_\x8r_\x8e_\x8f |
133 | unsigned·int·ref[3] | 133 | unsigned·int·ref[3] |
134 | actual·data·for·the·reference | 134 | actual·data·for·the·reference |
135 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x87_\x82 | 135 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8r_\x8e_\x8f_\x8e_\x8r_\x8e_\x8n_\x8c_\x8e_\x8._\x8h_\x8:_\x87_\x82 |
136 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
137 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
138 | iterator; | ||
139 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
136 | =============================================================================== | 140 | =============================================================================== |
137 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 141 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 87, 35 lines modified | Offset 87, 35 lines modified | ||
87 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> | 87 | <div·class="foldopen"·id="foldopen00048"·data-start="{"·data-end="};"> |
88 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html">···48</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Csiscone.html">Csiscone</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cstable__cones.html">Cstable_cones</a>,·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="classsiscone_1_1Csplit__merge.html">Csplit_merge</a>{</div> | 88 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html">···48</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Csiscone.html">Csiscone</a>·:·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="classsiscone_1_1Cstable__cones.html">Cstable_cones</a>,·<span·class="keyword">public</span>·<a·class="code·hl_class"·href="classsiscone_1_1Csplit__merge.html">Csplit_merge</a>{</div> |
89 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·<span·class="keyword">public</span>:</div> | 89 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·<span·class="keyword">public</span>:</div> |
90 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#ad7d2a8287f58949dd3c2b5d69f21e2a4">Csiscone</a>();</div> | 90 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno">···51</span>··<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#ad7d2a8287f58949dd3c2b5d69f21e2a4">Csiscone</a>();</div> |
91 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 91 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
92 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a4ba0b4e9503d274438c441fcefdc669d">~Csiscone</a>();</div> | 92 | <div·class="line"><a·id="l00054"·name="l00054"></a><span·class="lineno">···54</span>··<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a4ba0b4e9503d274438c441fcefdc669d">~Csiscone</a>();</div> |
93 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> | 93 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno">···55</span>·</div> |
94 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a259669f7c1f86fd220d1024fe44dba45">compute_jets</a>(std::vector<Cmomentum>·&_particles,·<span·class="keywordtype">double</span>·_radius,·<span·class="keywordtype">double</span>·_f,·</div> | 94 | <div·class="line"><a·id="l00076"·name="l00076"></a><span·class="lineno">···76</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a259669f7c1f86fd220d1024fe44dba45">compute_jets</a>(std::vector<Cmomentum>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_particles</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_radius</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_c[·...·truncated·by·diffoscope;·len:·51,·SHA:·4c78c966b83a26c18dcaf0ed734cf1892a2ab6ace8b458d20a242a016aa429cd·...·],·</div> |
95 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>···················<span·class="keywordtype">int</span>·_n_pass_max=0,·<span·class="keywordtype">double</span>·_ptmin=0.0,</div> | 95 | <div·class="line"><a·id="l00077"·name="l00077"></a><span·class="lineno">···77</span>···················<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_n_pass_max</a>=0,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_ptmin</a>=0.0,</div> |
96 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>···················Esplit_merge_scale·_split_merge_scale=SM_pttilde);</div> | 96 | <div·class="line"><a·id="l00078"·name="l00078"></a><span·class="lineno">···78</span>···················Esplit_merge_scale·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_split_merge_scale</a>=SM_pttilde);</div> |
97 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> | 97 | <div·class="line"><a·id="l00079"·name="l00079"></a><span·class="lineno">···79</span>·</div> |
98 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a7205c4d8d8f43b738de281784e03cc65">compute_jets_progressive_removal</a>(std::vector<Cmomentum>·&_particles,·<span·class="keywordtype">double</span>·_radius,·</div> | 98 | <div·class="line"><a·id="l00097"·name="l00097"></a><span·class="lineno">···97</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a7205c4d8d8f43b738de281784e03cc65">compute_jets_progressive_removal</a>(std::vector<Cmomentum>·&<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_particles</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_radius</a>,·</div> |
99 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·······································<span·class="keywordtype">int</span>·_n_pass_max=0,·<span·class="keywordtype">double</span>·_ptmin=0.0,</div> | 99 | <div·class="line"><a·id="l00098"·name="l00098"></a><span·class="lineno">···98</span>·······································<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_n_pass_max</a>=0,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_ptmin</a>=0.0,</div> |
100 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·······································Esplit_merge_scale·_ordering_scale=SM_pttilde);</div> | 100 | <div·class="line"><a·id="l00099"·name="l00099"></a><span·class="lineno">···99</span>·······································Esplit_merge_scale·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_ordering_scale</a>=SM_pttilde);</div> |
101 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> | 101 | <div·class="line"><a·id="l00100"·name="l00100"></a><span·class="lineno">··100</span>·</div> |
102 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a3bb2362bcc9bed2ae8903afefd6646a0">recompute_jets</a>(<span·class="keywordtype">double</span>·_f,·<span·class="keywordtype">double</span>·_ptmin·=·0.0,</div> | 102 | <div·class="line"><a·id="l00113"·name="l00113"></a><span·class="lineno">··113</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a3bb2362bcc9bed2ae8903afefd6646a0">recompute_jets</a>(<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_f</a>,·<span·class="keywordtype">double</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_ptmin</a>·=·0.0,</div> |
103 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·····················Esplit_merge_scale·_split_merge_scale=SM_pttilde);</div> | 103 | <div·class="line"><a·id="l00114"·name="l00114"></a><span·class="lineno">··114</span>·····················Esplit_merge_scale·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">_split_merge_scale</a>=SM_pttilde);</div> |
104 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> | 104 | <div·class="line"><a·id="l00115"·name="l00115"></a><span·class="lineno">··115</span>·</div> |
105 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html#a1366325a40d09ad74cf0b818d5bff2ab">··117</a></span>··std::vector<std::vector<Cmomentum>·>·<a·class="code·hl_variable"·href="classsiscone_1_1Csiscone.html#a1366325a40d09ad74cf0b818d5bff2ab">protocones_list</a>;</div> | 105 | <div·class="line"><a·id="l00117"·name="l00117"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html#a1366325a40d09ad74cf0b818d5bff2ab">··117</a></span>··std::vector<std::vector<Cmomentum>·>·<a·class="code·hl_variable"·href="classsiscone_1_1Csiscone.html#a1366325a40d09ad74cf0b818d5bff2ab">protocones_list</a>;</div> |
106 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> | 106 | <div·class="line"><a·id="l00118"·name="l00118"></a><span·class="lineno">··118</span>·</div> |
107 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="comment">//·random·number·initialisation</span></div> | 107 | <div·class="line"><a·id="l00119"·name="l00119"></a><span·class="lineno">··119</span>··<span·class="comment">//·random·number·initialisation</span></div> |
108 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html#a8551f8381208b3bf9c971613824b20c7">··120</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Csiscone.html#a8551f8381208b3bf9c971613824b20c7">init_done</a>;······</div> | 108 | <div·class="line"><a·id="l00120"·name="l00120"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html#a8551f8381208b3bf9c971613824b20c7">··120</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·<a·class="code·hl_variable"·href="classsiscone_1_1Csiscone.html#a8551f8381208b3bf9c971613824b20c7">init_done</a>;······</div> |
109 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> | 109 | <div·class="line"><a·id="l00121"·name="l00121"></a><span·class="lineno">··121</span>·</div> |
110 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="preprocessor">#ifdef·DEBUG_STABLE_CONES</span></div> | 110 | <div·class="line"><a·id="l00122"·name="l00122"></a><span·class="lineno">··122</span><span·class="preprocessor">#ifdef·DEBUG_STABLE_CONES</span></div> |
111 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="keywordtype">int</span>·nb_hash_cones_total,·nb_hash_occupied_total;</div> | 111 | <div·class="line"><a·id="l00123"·name="l00123"></a><span·class="lineno">··123</span>··<span·class="keywordtype">int</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">nb_hash_cones_total</a>,·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">nb_hash_occupied_total</a>;</div> |
112 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="preprocessor">#endif</span></div> | 112 | <div·class="line"><a·id="l00124"·name="l00124"></a><span·class="lineno">··124</span><span·class="preprocessor">#endif</span></div> |
113 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> | 113 | <div·class="line"><a·id="l00125"·name="l00125"></a><span·class="lineno">··125</span>·</div> |
114 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html#a9c439858081865495ed4f97350527eef">··137</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a9c439858081865495ed4f97350527eef">set_banner_stream</a>(std::ostream·*·ostr)·{_banner_ostr·=·ostr;}</div> | 114 | <div·class="line"><a·id="l00137"·name="l00137"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html#a9c439858081865495ed4f97350527eef">··137</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#a9c439858081865495ed4f97350527eef">set_banner_stream</a>(std::ostream·*·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">ostr</a>)·{_banner_ostr·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">ostr</a>;}</div> |
115 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> | 115 | <div·class="line"><a·id="l00138"·name="l00138"></a><span·class="lineno">··138</span>·</div> |
116 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html#aa91ae087cb880286979d32b3daedac38">··143</a></span>··<span·class="keyword">static</span>·std::ostream·*·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#aa91ae087cb880286979d32b3daedac38">banner_stream</a>()·{<span·class="keywordflow">return</span>·_banner_ostr;}</div> | 116 | <div·class="line"><a·id="l00143"·name="l00143"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone.html#aa91ae087cb880286979d32b3daedac38">··143</a></span>··<span·class="keyword">static</span>·std::ostream·*·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone.html#aa91ae087cb880286979d32b3daedac38">banner_stream</a>()·{<span·class="keywordflow">return</span>·_banner_ostr;}</div> |
117 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> | 117 | <div·class="line"><a·id="l00144"·name="l00144"></a><span·class="lineno">··144</span>·</div> |
118 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·<span·class="keyword">private</span>:</div> | 118 | <div·class="line"><a·id="l00145"·name="l00145"></a><span·class="lineno">··145</span>·<span·class="keyword">private</span>:</div> |
119 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··<span·class="keywordtype">bool</span>·rerun_allowed;·········</div> | 119 | <div·class="line"><a·id="l00146"·name="l00146"></a><span·class="lineno">··146</span>··<span·class="keywordtype">bool</span>·rerun_allowed;·········</div> |
120 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··<span·class="keyword">static</span>·std::ostream·*·_banner_ostr;·</div> | 120 | <div·class="line"><a·id="l00147"·name="l00147"></a><span·class="lineno">··147</span>··<span·class="keyword">static</span>·std::ostream·*·_banner_ostr;·</div> |
121 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div> | 121 | <div·class="line"><a·id="l00148"·name="l00148"></a><span·class="lineno">··148</span>·</div> |
Offset 143, 14 lines modified | Offset 143, 15 lines modified | ||
143 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_a7205c4d8d8f43b738de281784e03cc65"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#a7205c4d8d8f43b738de281784e03cc65">siscone::Csiscone::compute_jets_progressive_removal</a></div><div·class="ttdeci">int·compute_jets_progressive_removal(std::vector<·Cmomentum·>·&_particles,·double·_radius,·int·_n_pass_max=0,·double·_ptmin=0.0,·Esplit_merge_scale·_ordering_scale=SM_pttilde)</div><div·class="ttdoc">compute·the·jets·from·a·given·particle·set.</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8cpp_source.html#l00156">siscone.cpp:156</a></div></div> | 143 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_a7205c4d8d8f43b738de281784e03cc65"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#a7205c4d8d8f43b738de281784e03cc65">siscone::Csiscone::compute_jets_progressive_removal</a></div><div·class="ttdeci">int·compute_jets_progressive_removal(std::vector<·Cmomentum·>·&_particles,·double·_radius,·int·_n_pass_max=0,·double·_ptmin=0.0,·Esplit_merge_scale·_ordering_scale=SM_pttilde)</div><div·class="ttdoc">compute·the·jets·from·a·given·particle·set.</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8cpp_source.html#l00156">siscone.cpp:156</a></div></div> |
144 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_a8551f8381208b3bf9c971613824b20c7"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#a8551f8381208b3bf9c971613824b20c7">siscone::Csiscone::init_done</a></div><div·class="ttdeci">static·bool·init_done</div><div·class="ttdoc">check·random·generator·initialisation</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8h_source.html#l00120">siscone.h:120</a></div></div> | 144 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_a8551f8381208b3bf9c971613824b20c7"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#a8551f8381208b3bf9c971613824b20c7">siscone::Csiscone::init_done</a></div><div·class="ttdeci">static·bool·init_done</div><div·class="ttdoc">check·random·generator·initialisation</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8h_source.html#l00120">siscone.h:120</a></div></div> |
145 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_a9c439858081865495ed4f97350527eef"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#a9c439858081865495ed4f97350527eef">siscone::Csiscone::set_banner_stream</a></div><div·class="ttdeci">static·void·set_banner_stream(std::ostream·*ostr)</div><div·class="ttdoc">A·call·to·this·function·modifies·the·stream·used·to·print·banners·(by·default·cout).</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8h_source.html#l00137">siscone.h:137</a></div></div> | 145 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_a9c439858081865495ed4f97350527eef"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#a9c439858081865495ed4f97350527eef">siscone::Csiscone::set_banner_stream</a></div><div·class="ttdeci">static·void·set_banner_stream(std::ostream·*ostr)</div><div·class="ttdoc">A·call·to·this·function·modifies·the·stream·used·to·print·banners·(by·default·cout).</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8h_source.html#l00137">siscone.h:137</a></div></div> |
146 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_aa91ae087cb880286979d32b3daedac38"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#aa91ae087cb880286979d32b3daedac38">siscone::Csiscone::banner_stream</a></div><div·class="ttdeci">static·std::ostream·*·banner_stream()</div><div·class="ttdoc">returns·a·pointer·to·the·stream·to·be·used·to·print·banners·(cout·by·default)</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8h_source.html#l00143">siscone.h:143</a></div></div> | 146 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_aa91ae087cb880286979d32b3daedac38"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#aa91ae087cb880286979d32b3daedac38">siscone::Csiscone::banner_stream</a></div><div·class="ttdeci">static·std::ostream·*·banner_stream()</div><div·class="ttdoc">returns·a·pointer·to·the·stream·to·be·used·to·print·banners·(cout·by·default)</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8h_source.html#l00143">siscone.h:143</a></div></div> |
147 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_ad7d2a8287f58949dd3c2b5d69f21e2a4"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#ad7d2a8287f58949dd3c2b5d69f21e2a4">siscone::Csiscone::Csiscone</a></div><div·class="ttdeci">Csiscone()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8cpp_source.html#l00051">siscone.cpp:51</a></div></div> | 147 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone_html_ad7d2a8287f58949dd3c2b5d69f21e2a4"><div·class="ttname"><a·href="classsiscone_1_1Csiscone.html#ad7d2a8287f58949dd3c2b5d69f21e2a4">siscone::Csiscone::Csiscone</a></div><div·class="ttdeci">Csiscone()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone_8cpp_source.html#l00051">siscone.cpp:51</a></div></div> |
148 | <div·class="ttc"·id="aclasssiscone_1_1Csplit__merge_html"><div·class="ttname"><a·href="classsiscone_1_1Csplit__merge.html">siscone::Csplit_merge</a></div><div·class="ttdoc">Class·used·to·split·and·merge·jets.</div><div·class="ttdef"><b>Definition</b>·<a·href="split__merge_8h_source.html#l00180">split_merge.h:180</a></div></div> | 148 | <div·class="ttc"·id="aclasssiscone_1_1Csplit__merge_html"><div·class="ttname"><a·href="classsiscone_1_1Csplit__merge.html">siscone::Csplit_merge</a></div><div·class="ttdoc">Class·used·to·split·and·merge·jets.</div><div·class="ttdef"><b>Definition</b>·<a·href="split__merge_8h_source.html#l00180">split_merge.h:180</a></div></div> |
149 | <div·class="ttc"·id="aclasssiscone_1_1Cstable__cones_html"><div·class="ttname"><a·href="classsiscone_1_1Cstable__cones.html">siscone::Cstable_cones</a></div><div·class="ttdoc">Computes·the·list·of·stable·comes·from·a·particle·list.</div><div·class="ttdef"><b>Definition</b>·<a·href="protocones_8h_source.html#l00082">protocones.h:82</a></div></div> | 149 | <div·class="ttc"·id="aclasssiscone_1_1Cstable__cones_html"><div·class="ttname"><a·href="classsiscone_1_1Cstable__cones.html">siscone::Cstable_cones</a></div><div·class="ttdoc">Computes·the·list·of·stable·comes·from·a·particle·list.</div><div·class="ttdef"><b>Definition</b>·<a·href="protocones_8h_source.html#l00082">protocones.h:82</a></div></div> |
150 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
150 | </div><!--·fragment·--></div><!--·contents·--> | 151 | </div><!--·fragment·--></div><!--·contents·--> |
151 | <!--·start·footer·part·--> | 152 | <!--·start·footer·part·--> |
152 | <hr·class="footer"/><address·class="footer"><small> | 153 | <hr·class="footer"/><address·class="footer"><small> |
153 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 154 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
154 | </small></address> | 155 | </small></address> |
155 | </body> | 156 | </body> |
156 | </html> | 157 | </html> |
Offset 37, 37 lines modified | Offset 37, 37 lines modified | ||
37 | 35 | 37 | 35 |
38 | _\x84_\x88class·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e·:·public·_\x8C_\x8s_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8c_\x8o_\x8n_\x8e_\x8s,·public·_\x8C_\x8s_\x8p_\x8l_\x8i_\x8t_\x8__\x8m_\x8e_\x8r_\x8g_\x8e{ | 38 | _\x84_\x88class·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e·:·public·_\x8C_\x8s_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8c_\x8o_\x8n_\x8e_\x8s,·public·_\x8C_\x8s_\x8p_\x8l_\x8i_\x8t_\x8__\x8m_\x8e_\x8r_\x8g_\x8e{ |
39 | 49·public: | 39 | 49·public: |
40 | 51·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e(); | 40 | 51·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e(); |
41 | 52 | 41 | 52 |
42 | 54·_\x8~_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e(); | 42 | 54·_\x8~_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e(); |
43 | 55 | 43 | 55 |
44 | 76·int·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8__\x8j_\x8e_\x8t_\x8s(std::vector<Cmomentum>·&_particles,·double·_radius,·double | 44 | 76·int·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8__\x8j_\x8e_\x8t_\x8s(std::vector<Cmomentum>·&_.__.p_.a_.r_.t_.i_.c_.l_.e_.s,·double·_.__.r_.a_.d_.i_.u_.s,·double |
45 | _f, | ||
46 | 77·int·_n_pass_max=0,·double·_ptmin=0.0, | ||
47 | 45 | _.__.f, | |
46 | 77·int·_\x8__\x8n_\x8__\x8p_\x8a_\x8s_\x8s_\x8__\x8m_\x8a_\x8x=0,·double·_\x8__\x8p_\x8t_\x8m_\x8i_\x8n=0.0, | ||
47 | 78·Esplit_merge_scale·_\x8__\x8s_\x8p_\x8l_\x8i_\x8t_\x8__\x8m_\x8e_\x8r_\x8g_\x8e_\x8__\x8s_\x8c_\x8a_\x8l_\x8e=SM_pttilde); | ||
48 | 79 | 48 | 79 |
49 | 97·int·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8__\x8j_\x8e_\x8t_\x8s_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8i_\x8v_\x8e_\x8__\x8r_\x8e_\x8m_\x8o_\x8v_\x8a_\x8l(std::vector<Cmomentum>·&_particles, | 49 | 97·int·_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8__\x8j_\x8e_\x8t_\x8s_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8i_\x8v_\x8e_\x8__\x8r_\x8e_\x8m_\x8o_\x8v_\x8a_\x8l(std::vector<Cmomentum>·&_.__.p_.a_.r_.t_.i_.c_.l_.e_.s, |
50 | double·_radius, | ||
51 | 50 | double·_.__.r_.a_.d_.i_.u_.s, | |
51 | 98·int·_\x8__\x8n_\x8__\x8p_\x8a_\x8s_\x8s_\x8__\x8m_\x8a_\x8x=0,·double·_\x8__\x8p_\x8t_\x8m_\x8i_\x8n=0.0, | ||
52 | 99·Esplit_merge_scale·_ordering_scale=SM_pttilde); | 52 | 99·Esplit_merge_scale·_.__.o_.r_.d_.e_.r_.i_.n_.g_.__.s_.c_.a_.l_.e=SM_pttilde); |
53 | 100 | 53 | 100 |
54 | 113·int·_\x8r_\x8e_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8__\x8j_\x8e_\x8t_\x8s(double·_f,·double·_ptmin·=·0.0, | 54 | 113·int·_\x8r_\x8e_\x8c_\x8o_\x8m_\x8p_\x8u_\x8t_\x8e_\x8__\x8j_\x8e_\x8t_\x8s(double·_.__.f,·double·_.__.p_.t_.m_.i_.n·=·0.0, |
55 | 114·Esplit_merge_scale·_split_merge_scale=SM_pttilde); | 55 | 114·Esplit_merge_scale·_.__.s_.p_.l_.i_.t_.__.m_.e_.r_.g_.e_.__.s_.c_.a_.l_.e=SM_pttilde); |
56 | 115 | 56 | 115 |
57 | _\x81_\x81_\x87·std::vector<std::vector<Cmomentum>·>·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8n_\x8e_\x8s_\x8__\x8l_\x8i_\x8s_\x8t; | 57 | _\x81_\x81_\x87·std::vector<std::vector<Cmomentum>·>·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8n_\x8e_\x8s_\x8__\x8l_\x8i_\x8s_\x8t; |
58 | 118 | 58 | 118 |
59 | 119·//·random·number·initialisation | 59 | 119·//·random·number·initialisation |
60 | _\x81_\x82_\x80·static·bool·_\x8i_\x8n_\x8i_\x8t_\x8__\x8d_\x8o_\x8n_\x8e; | 60 | _\x81_\x82_\x80·static·bool·_\x8i_\x8n_\x8i_\x8t_\x8__\x8d_\x8o_\x8n_\x8e; |
61 | 121 | 61 | 121 |
62 | 122#ifdef·DEBUG_STABLE_CONES | 62 | 122#ifdef·DEBUG_STABLE_CONES |
63 | 123·int·nb_hash_cones_total,·nb_hash_occupied_total; | 63 | 123·int·_.n_.b_.__.h_.a_.s_.h_.__.c_.o_.n_.e_.s_.__.t_.o_.t_.a_.l,·_.n_.b_.__.h_.a_.s_.h_.__.o_.c_.c_.u_.p_.i_.e_.d_.__.t_.o_.t_.a_.l; |
64 | 124#endif | 64 | 124#endif |
65 | 125 | 65 | 125 |
66 | _\x81_\x83_\x87·static·void·_\x8s_\x8e_\x8t_\x8__\x8b_\x8a_\x8n_\x8n_\x8e_\x8r_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m(std::ostream·*·ostr)·{_banner_ostr·=·ostr;} | 66 | _\x81_\x83_\x87·static·void·_\x8s_\x8e_\x8t_\x8__\x8b_\x8a_\x8n_\x8n_\x8e_\x8r_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m(std::ostream·*·_.o_.s_.t_.r)·{_banner_ostr·=·_.o_.s_.t_.r;} |
67 | 138 | 67 | 138 |
68 | _\x81_\x84_\x83·static·std::ostream·*·_\x8b_\x8a_\x8n_\x8n_\x8e_\x8r_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m()·{return·_banner_ostr;} | 68 | _\x81_\x84_\x83·static·std::ostream·*·_\x8b_\x8a_\x8n_\x8n_\x8e_\x8r_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m()·{return·_banner_ostr;} |
69 | 144 | 69 | 144 |
70 | 145·private: | 70 | 145·private: |
71 | 146·bool·rerun_allowed; | 71 | 146·bool·rerun_allowed; |
72 | 147·static·std::ostream·*·_banner_ostr; | 72 | 147·static·std::ostream·*·_banner_ostr; |
73 | 148 | 73 | 148 |
Offset 134, 9 lines modified | Offset 134, 13 lines modified | ||
134 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8._\x8c_\x8p_\x8p_\x8:_\x85_\x81 | 134 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8._\x8c_\x8p_\x8p_\x8:_\x85_\x81 |
135 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8s_\x8p_\x8l_\x8i_\x8t_\x8__\x8m_\x8e_\x8r_\x8g_\x8e | 135 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8s_\x8p_\x8l_\x8i_\x8t_\x8__\x8m_\x8e_\x8r_\x8g_\x8e |
136 | Class·used·to·split·and·merge·jets. | 136 | Class·used·to·split·and·merge·jets. |
137 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8s_\x8p_\x8l_\x8i_\x8t_\x8__\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8:_\x81_\x88_\x80 | 137 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8s_\x8p_\x8l_\x8i_\x8t_\x8__\x8m_\x8e_\x8r_\x8g_\x8e_\x8._\x8h_\x8:_\x81_\x88_\x80 |
138 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8s_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8c_\x8o_\x8n_\x8e_\x8s | 138 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8s_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8c_\x8o_\x8n_\x8e_\x8s |
139 | Computes·the·list·of·stable·comes·from·a·particle·list. | 139 | Computes·the·list·of·stable·comes·from·a·particle·list. |
140 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8n_\x8e_\x8s_\x8._\x8h_\x8:_\x88_\x82 | 140 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8n_\x8e_\x8s_\x8._\x8h_\x8:_\x88_\x82 |
141 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
142 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
143 | iterator; | ||
144 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
141 | =============================================================================== | 145 | =============================================================================== |
142 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 146 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 86, 25 lines modified | Offset 86, 25 lines modified | ||
86 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> | 86 | <div·class="line"><a·id="l00035"·name="l00035"></a><span·class="lineno">···35</span>·</div> |
87 | <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="};"> | 87 | <div·class="foldopen"·id="foldopen00038"·data-start="{"·data-end="};"> |
88 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html">···38</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Csiscone__error.html">Csiscone_error</a>·{</div> | 88 | <div·class="line"><a·id="l00038"·name="l00038"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html">···38</a></span><span·class="keyword">class·</span><a·class="code·hl_class"·href="classsiscone_1_1Csiscone__error.html">Csiscone_error</a>·{</div> |
89 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</span>:</div> | 89 | <div·class="line"><a·id="l00039"·name="l00039"></a><span·class="lineno">···39</span><span·class="keyword">public</span>:</div> |
90 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html#a0f73c4c5fe3338f588605f654619f25f">···41</a></span>··<a·class="code·hl_function"·href="classsiscone_1_1Csiscone__error.html#a0f73c4c5fe3338f588605f654619f25f">Csiscone_error</a>()·{;};</div> | 90 | <div·class="line"><a·id="l00041"·name="l00041"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html#a0f73c4c5fe3338f588605f654619f25f">···41</a></span>··<a·class="code·hl_function"·href="classsiscone_1_1Csiscone__error.html#a0f73c4c5fe3338f588605f654619f25f">Csiscone_error</a>()·{;};</div> |
91 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> | 91 | <div·class="line"><a·id="l00042"·name="l00042"></a><span·class="lineno">···42</span>·</div> |
92 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}"> | 92 | <div·class="foldopen"·id="foldopen00045"·data-start="{"·data-end="}"> |
93 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html#a34aa94ff082abde92a12be45c436abd0">···45</a></span>··<a·class="code·hl_function"·href="classsiscone_1_1Csiscone__error.html#a34aa94ff082abde92a12be45c436abd0">Csiscone_error</a>(<span·class="keyword">const</span>·std::string·&·message_in)·{</div> | 93 | <div·class="line"><a·id="l00045"·name="l00045"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html#a34aa94ff082abde92a12be45c436abd0">···45</a></span>··<a·class="code·hl_function"·href="classsiscone_1_1Csiscone__error.html#a34aa94ff082abde92a12be45c436abd0">Csiscone_error</a>(<span·class="keyword">const</span>·std::string·&·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">message_in</a>)·{</div> |
94 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····m_message·=·message_in;·</div> | 94 | <div·class="line"><a·id="l00046"·name="l00046"></a><span·class="lineno">···46</span>····m_message·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">message_in</a>;·</div> |
95 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">if</span>·(m_print_errors)·std::cerr·<<·<span·class="stringliteral">"siscone::Csiscone_error:·"</span><<·message_in·<<·std::endl;</div> | 95 | <div·class="line"><a·id="l00047"·name="l00047"></a><span·class="lineno">···47</span>····<span·class="keywordflow">if</span>·(m_print_errors)·std::cerr·<<·<span·class="stringliteral">"siscone::Csiscone_error:·"</span><<·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">message_in</a>·<<·std::endl;</div> |
96 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div> | 96 | <div·class="line"><a·id="l00048"·name="l00048"></a><span·class="lineno">···48</span>··};</div> |
97 | </div> | 97 | </div> |
98 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> | 98 | <div·class="line"><a·id="l00049"·name="l00049"></a><span·class="lineno">···49</span>·</div> |
99 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html#abb19f34d28603212db7f3d6ad3acbf32">···51</a></span>··std::string·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone__error.html#abb19f34d28603212db7f3d6ad3acbf32">message</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·m_message;};</div> | 99 | <div·class="line"><a·id="l00051"·name="l00051"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html#abb19f34d28603212db7f3d6ad3acbf32">···51</a></span>··std::string·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone__error.html#abb19f34d28603212db7f3d6ad3acbf32">message</a>()<span·class="keyword">·const·</span>{<span·class="keywordflow">return</span>·m_message;};</div> |
100 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> | 100 | <div·class="line"><a·id="l00052"·name="l00052"></a><span·class="lineno">···52</span>·</div> |
101 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> | 101 | <div·class="foldopen"·id="foldopen00055"·data-start="{"·data-end="}"> |
102 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html#adab0d3df01d160eeb936f656e748a153">···55</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone__error.html#adab0d3df01d160eeb936f656e748a153">setm_print_errors</a>(<span·class="keywordtype">bool</span>·print_errors)·{</div> | 102 | <div·class="line"><a·id="l00055"·name="l00055"></a><span·class="lineno"><a·class="line"·href="classsiscone_1_1Csiscone__error.html#adab0d3df01d160eeb936f656e748a153">···55</a></span>··<span·class="keyword">static</span>·<span·class="keywordtype">void</span>·<a·class="code·hl_function"·href="classsiscone_1_1Csiscone__error.html#adab0d3df01d160eeb936f656e748a153">setm_print_errors</a>(<span·class="keywordtype">bool</span>·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">print_errors</a>)·{</div> |
103 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····m_print_errors·=·print_errors;};</div> | 103 | <div·class="line"><a·id="l00056"·name="l00056"></a><span·class="lineno">···56</span>····m_print_errors·=·<a·class="code·hl_class"·href="classsiscone_1_1circulator.html">print_errors</a>;};</div> |
104 | </div> | 104 | </div> |
105 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> | 105 | <div·class="line"><a·id="l00057"·name="l00057"></a><span·class="lineno">···57</span>·</div> |
106 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">private</span>:</div> | 106 | <div·class="line"><a·id="l00058"·name="l00058"></a><span·class="lineno">···58</span><span·class="keyword">private</span>:</div> |
107 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··std::string·m_message;·······</div> | 107 | <div·class="line"><a·id="l00059"·name="l00059"></a><span·class="lineno">···59</span>··std::string·m_message;·······</div> |
108 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·m_print_errors;··</div> | 108 | <div·class="line"><a·id="l00060"·name="l00060"></a><span·class="lineno">···60</span>··<span·class="keyword">static</span>·<span·class="keywordtype">bool</span>·m_print_errors;··</div> |
109 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>};</div> | 109 | <div·class="line"><a·id="l00061"·name="l00061"></a><span·class="lineno">···61</span>};</div> |
110 | </div> | 110 | </div> |
Offset 112, 14 lines modified | Offset 112, 15 lines modified | ||
112 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}</div> | 112 | <div·class="line"><a·id="l00063"·name="l00063"></a><span·class="lineno">···63</span>}</div> |
113 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#endif</span></div> | 113 | <div·class="line"><a·id="l00064"·name="l00064"></a><span·class="lineno">···64</span><span·class="preprocessor">#endif</span></div> |
114 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html">siscone::Csiscone_error</a></div><div·class="ttdoc">class·corresponding·to·errors·that·will·be·thrown·by·siscone</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00038">siscone_error.h:38</a></div></div> | 114 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html">siscone::Csiscone_error</a></div><div·class="ttdoc">class·corresponding·to·errors·that·will·be·thrown·by·siscone</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00038">siscone_error.h:38</a></div></div> |
115 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html_a0f73c4c5fe3338f588605f654619f25f"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html#a0f73c4c5fe3338f588605f654619f25f">siscone::Csiscone_error::Csiscone_error</a></div><div·class="ttdeci">Csiscone_error()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00041">siscone_error.h:41</a></div></div> | 115 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html_a0f73c4c5fe3338f588605f654619f25f"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html#a0f73c4c5fe3338f588605f654619f25f">siscone::Csiscone_error::Csiscone_error</a></div><div·class="ttdeci">Csiscone_error()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00041">siscone_error.h:41</a></div></div> |
116 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html_a34aa94ff082abde92a12be45c436abd0"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html#a34aa94ff082abde92a12be45c436abd0">siscone::Csiscone_error::Csiscone_error</a></div><div·class="ttdeci">Csiscone_error(const·std::string·&message_in)</div><div·class="ttdoc">ctor·with·a·given·error·message</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00045">siscone_error.h:45</a></div></div> | 116 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html_a34aa94ff082abde92a12be45c436abd0"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html#a34aa94ff082abde92a12be45c436abd0">siscone::Csiscone_error::Csiscone_error</a></div><div·class="ttdeci">Csiscone_error(const·std::string·&message_in)</div><div·class="ttdoc">ctor·with·a·given·error·message</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00045">siscone_error.h:45</a></div></div> |
117 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html_abb19f34d28603212db7f3d6ad3acbf32"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html#abb19f34d28603212db7f3d6ad3acbf32">siscone::Csiscone_error::message</a></div><div·class="ttdeci">std::string·message()·const</div><div·class="ttdoc">access·to·the·error·message</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00051">siscone_error.h:51</a></div></div> | 117 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html_abb19f34d28603212db7f3d6ad3acbf32"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html#abb19f34d28603212db7f3d6ad3acbf32">siscone::Csiscone_error::message</a></div><div·class="ttdeci">std::string·message()·const</div><div·class="ttdoc">access·to·the·error·message</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00051">siscone_error.h:51</a></div></div> |
118 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html_adab0d3df01d160eeb936f656e748a153"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html#adab0d3df01d160eeb936f656e748a153">siscone::Csiscone_error::setm_print_errors</a></div><div·class="ttdeci">static·void·setm_print_errors(bool·print_errors)</div><div·class="ttdoc">switch·on/off·the·error·message·printing</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00055">siscone_error.h:55</a></div></div> | 118 | <div·class="ttc"·id="aclasssiscone_1_1Csiscone__error_html_adab0d3df01d160eeb936f656e748a153"><div·class="ttname"><a·href="classsiscone_1_1Csiscone__error.html#adab0d3df01d160eeb936f656e748a153">siscone::Csiscone_error::setm_print_errors</a></div><div·class="ttdeci">static·void·setm_print_errors(bool·print_errors)</div><div·class="ttdoc">switch·on/off·the·error·message·printing</div><div·class="ttdef"><b>Definition</b>·<a·href="siscone__error_8h_source.html#l00055">siscone_error.h:55</a></div></div> |
119 | <div·class="ttc"·id="aclasssiscone_1_1circulator_html"><div·class="ttname"><a·href="classsiscone_1_1circulator.html">siscone::circulator</a></div><div·class="ttdoc">a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an·iterator;</div><div·class="ttdef"><b>Definition</b>·<a·href="circulator_8h_source.html#l00036">circulator.h:36</a></div></div> | ||
119 | </div><!--·fragment·--></div><!--·contents·--> | 120 | </div><!--·fragment·--></div><!--·contents·--> |
120 | <!--·start·footer·part·--> | 121 | <!--·start·footer·part·--> |
121 | <hr·class="footer"/><address·class="footer"><small> | 122 | <hr·class="footer"/><address·class="footer"><small> |
122 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 | 123 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by <a·href="https://www.doxygen.org/index.html"><img·class="footer"·src="doxygen.svg"·width="104"·height="31"·alt="doxygen"/></a>·1.9.8 |
123 | </small></address> | 124 | </small></address> |
124 | </body> | 125 | </body> |
125 | </html> | 126 | </html> |
Offset 35, 24 lines modified | Offset 35, 24 lines modified | ||
35 | 33 | 35 | 33 |
36 | 34namespace·siscone{ | 36 | 34namespace·siscone{ |
37 | 35 | 37 | 35 |
38 | _\x83_\x88class·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r·{ | 38 | _\x83_\x88class·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r·{ |
39 | 39public: | 39 | 39public: |
40 | _\x84_\x81·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r()·{;}; | 40 | _\x84_\x81·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r()·{;}; |
41 | 42 | 41 | 42 |
42 | _\x84_\x85·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r(const·std::string·&·message_in)·{ | 42 | _\x84_\x85·_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r(const·std::string·&·_.m_.e_.s_.s_.a_.g_.e_.__.i_.n)·{ |
43 | 46·m_message·=·message_in; | 43 | 46·m_message·=·_.m_.e_.s_.s_.a_.g_.e_.__.i_.n; |
44 | 47·if·(m_print_errors)·std::cerr·<<·"siscone::Csiscone_error:·"<<·message_in·<< | 44 | 47·if·(m_print_errors)·std::cerr·<<·"siscone::Csiscone_error:·"<<·_.m_.e_.s_.s_.a_.g_.e_.__.i_.n·<< |
45 | std::endl; | 45 | std::endl; |
46 | 48·}; | 46 | 48·}; |
47 | 49 | 47 | 49 |
48 | _\x85_\x81·std::string·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e()·const·{return·m_message;}; | 48 | _\x85_\x81·std::string·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e()·const·{return·m_message;}; |
49 | 52 | 49 | 52 |
50 | _\x85_\x85·static·void·_\x8s_\x8e_\x8t_\x8m_\x8__\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s(bool·print_errors)·{ | 50 | _\x85_\x85·static·void·_\x8s_\x8e_\x8t_\x8m_\x8__\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s(bool·_.p_.r_.i_.n_.t_.__.e_.r_.r_.o_.r_.s)·{ |
51 | 56·m_print_errors·=·print_errors;}; | 51 | 56·m_print_errors·=·_.p_.r_.i_.n_.t_.__.e_.r_.r_.o_.r_.s;}; |
52 | 57 | 52 | 57 |
53 | 58private: | 53 | 58private: |
54 | 59·std::string·m_message; | 54 | 59·std::string·m_message; |
55 | 60·static·bool·m_print_errors; | 55 | 60·static·bool·m_print_errors; |
56 | 61}; | 56 | 61}; |
57 | 62 | 57 | 62 |
58 | 63} | 58 | 63} |
Offset 72, 9 lines modified | Offset 72, 13 lines modified | ||
72 | std::string·message()·const | 72 | std::string·message()·const |
73 | access·to·the·error·message | 73 | access·to·the·error·message |
74 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8._\x8h_\x8:_\x85_\x81 | 74 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8._\x8h_\x8:_\x85_\x81 |
75 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8:_\x8:_\x8s_\x8e_\x8t_\x8m_\x8__\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s | 75 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8:_\x8:_\x8s_\x8e_\x8t_\x8m_\x8__\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s |
76 | static·void·setm_print_errors(bool·print_errors) | 76 | static·void·setm_print_errors(bool·print_errors) |
77 | switch·on/off·the·error·message·printing | 77 | switch·on/off·the·error·message·printing |
78 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8._\x8h_\x8:_\x85_\x85 | 78 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8._\x8h_\x8:_\x85_\x85 |
79 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r | ||
80 | a·circulator·that·is·foreseen·to·take·as·template·member·either·a·pointer·or·an | ||
81 | iterator; | ||
82 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8c_\x8i_\x8r_\x8c_\x8u_\x8l_\x8a_\x8t_\x8o_\x8r_\x8._\x8h_\x8:_\x83_\x86 | ||
79 | =============================================================================== | 83 | =============================================================================== |
80 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 | 84 | ·····Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by _\x8[_\x8d_\x8o_\x8x_\x8y_\x8g_\x8e_\x8n_\x8]·1.9.8 |
Offset 226, 21 lines modified | Offset 226, 20 lines modified | ||
226 | <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span><span·class="keyword">const</span>·CSphtheta_phi_range·range_union·(<span·class="keyword">const</span>·CSphtheta_phi_range·&r1,·<span·class="keyword">const</span>·CSphtheta_phi_range·&r2){</div> | 226 | <div·class="line"><a·id="l00166"·name="l00166"></a><span·class="lineno">··166</span><span·class="keyword">const</span>·CSphtheta_phi_range·range_union·(<span·class="keyword">const</span>·CSphtheta_phi_range·&r1,·<span·class="keyword">const</span>·CSphtheta_phi_range·&r2){</div> |
227 | <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>··CSphtheta_phi_range·tmp;</div> | 227 | <div·class="line"><a·id="l00167"·name="l00167"></a><span·class="lineno">··167</span>··CSphtheta_phi_range·tmp;</div> |
228 | <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>·</div> | 228 | <div·class="line"><a·id="l00168"·name="l00168"></a><span·class="lineno">··168</span>·</div> |
229 | <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>··<span·class="comment">//·compute·union·in·eta</span></div> | 229 | <div·class="line"><a·id="l00169"·name="l00169"></a><span·class="lineno">··169</span>··<span·class="comment">//·compute·union·in·eta</span></div> |
230 | <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>··tmp.theta_range·=·r1.theta_range·|·r2.theta_range;</div> | 230 | <div·class="line"><a·id="l00170"·name="l00170"></a><span·class="lineno">··170</span>··tmp.theta_range·=·r1.theta_range·|·r2.theta_range;</div> |
231 | <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div> | 231 | <div·class="line"><a·id="l00171"·name="l00171"></a><span·class="lineno">··171</span>·</div> |
232 | <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>··<span·class="comment">//·compute·union·in·phi</span></div> | 232 | <div·class="line"><a·id="l00172"·name="l00172"></a><span·class="lineno">··172</span>··<span·class="comment">//·compute·union·in·phi</span></div> |
233 | <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>··tmp. | 233 | <div·class="line"><a·id="l00173"·name="l00173"></a><span·class="lineno">··173</span>··tmp.phi_range·=·r1.phi_range·|·r2.phi_range;</div> |
234 | <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div> | 234 | <div·class="line"><a·id="l00174"·name="l00174"></a><span·class="lineno">··174</span>·</div> |
235 | <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>··<span·class="keywordflow">return</span>·tmp;</div> | 235 | <div·class="line"><a·id="l00175"·name="l00175"></a><span·class="lineno">··175</span>··<span·class="keywordflow">return</span>·tmp;</div> |
236 | <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>}</div> | 236 | <div·class="line"><a·id="l00176"·name="l00176"></a><span·class="lineno">··176</span>}</div> |
237 | <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>·</div> | 237 | <div·class="line"><a·id="l00177"·name="l00177"></a><span·class="lineno">··177</span>·</div> |
238 | <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>}</div> | 238 | <div·class="line"><a·id="l00178"·name="l00178"></a><span·class="lineno">··178</span>}</div> |
239 | <div·class="ttc"·id="aclasssiscone_1_1Ceta__phi__range_html_aeee6f7554e13e52b27c133c163b9e2da"><div·class="ttname"><a·href="classsiscone_1_1Ceta__phi__range.html#aeee6f7554e13e52b27c133c163b9e2da">siscone::Ceta_phi_range::phi_range</a></div><div·class="ttdeci">unsigned·int·phi_range</div><div·class="ttdoc">phi·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="geom__2d_8h_source.html#l00146">geom_2d.h:146</a></div></div> | ||
240 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html">siscone_spherical::CSphtheta_phi_range</a></div><div·class="ttdoc">class·for·holding·a·covering·range·in·eta-phi</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8h_source.html#l00052">geom_2d.h:52</a></div></div> | 239 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html">siscone_spherical::CSphtheta_phi_range</a></div><div·class="ttdoc">class·for·holding·a·covering·range·in·eta-phi</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8h_source.html#l00052">geom_2d.h:52</a></div></div> |
241 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a091d1ea5dc7612116fe1a115508a8dee"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a091d1ea5dc7612116fe1a115508a8dee">siscone_spherical::CSphtheta_phi_range::add_particle</a></div><div·class="ttdeci">int·add_particle(const·double·theta,·const·double·phi)</div><div·class="ttdoc">add·a·particle·to·the·range</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8cpp_source.html#l00130">geom_2d.cpp:130</a></div></div> | 240 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a091d1ea5dc7612116fe1a115508a8dee"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a091d1ea5dc7612116fe1a115508a8dee">siscone_spherical::CSphtheta_phi_range::add_particle</a></div><div·class="ttdeci">int·add_particle(const·double·theta,·const·double·phi)</div><div·class="ttdoc">add·a·particle·to·the·range</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8cpp_source.html#l00130">geom_2d.cpp:130</a></div></div> |
242 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a09c00009b6f1e90bf28355daf7846072"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a09c00009b6f1e90bf28355daf7846072">siscone_spherical::CSphtheta_phi_range::operator=</a></div><div·class="ttdeci">CSphtheta_phi_range·&·operator=(const·CSphtheta_phi_range·&r)</div><div·class="ttdoc">assignment·of·range</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8cpp_source.html#l00118">geom_2d.cpp:118</a></div></div> | 241 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a09c00009b6f1e90bf28355daf7846072"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a09c00009b6f1e90bf28355daf7846072">siscone_spherical::CSphtheta_phi_range::operator=</a></div><div·class="ttdeci">CSphtheta_phi_range·&·operator=(const·CSphtheta_phi_range·&r)</div><div·class="ttdoc">assignment·of·range</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8cpp_source.html#l00118">geom_2d.cpp:118</a></div></div> |
243 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a356cc060f5f65c30dd6e3a6c53e1f880"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a356cc060f5f65c30dd6e3a6c53e1f880">siscone_spherical::CSphtheta_phi_range::theta_max</a></div><div·class="ttdeci">static·double·theta_max</div><div·class="ttdoc">maximal·value·for·theta·(set·to·pi)</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8h_source.html#l00082">geom_2d.h:82</a></div></div> | 242 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a356cc060f5f65c30dd6e3a6c53e1f880"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a356cc060f5f65c30dd6e3a6c53e1f880">siscone_spherical::CSphtheta_phi_range::theta_max</a></div><div·class="ttdeci">static·double·theta_max</div><div·class="ttdoc">maximal·value·for·theta·(set·to·pi)</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8h_source.html#l00082">geom_2d.h:82</a></div></div> |
244 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a6ee20b0d77864846f345c21376f45486"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a6ee20b0d77864846f345c21376f45486">siscone_spherical::CSphtheta_phi_range::theta_range</a></div><div·class="ttdeci">unsigned·int·theta_range</div><div·class="ttdoc">theta·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8h_source.html#l00075">geom_2d.h:75</a></div></div> | 243 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a6ee20b0d77864846f345c21376f45486"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a6ee20b0d77864846f345c21376f45486">siscone_spherical::CSphtheta_phi_range::theta_range</a></div><div·class="ttdeci">unsigned·int·theta_range</div><div·class="ttdoc">theta·range·as·a·binary·coding·of·covered·cells</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8h_source.html#l00075">geom_2d.h:75</a></div></div> |
245 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a7362aeceea5440b3567ab0aa4dc9b6f9"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a7362aeceea5440b3567ab0aa4dc9b6f9">siscone_spherical::CSphtheta_phi_range::theta_min</a></div><div·class="ttdeci">static·double·theta_min</div><div·class="ttdoc">extremal·value·for·theta</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8h_source.html#l00081">geom_2d.h:81</a></div></div> | 244 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a7362aeceea5440b3567ab0aa4dc9b6f9"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a7362aeceea5440b3567ab0aa4dc9b6f9">siscone_spherical::CSphtheta_phi_range::theta_min</a></div><div·class="ttdeci">static·double·theta_min</div><div·class="ttdoc">extremal·value·for·theta</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8h_source.html#l00081">geom_2d.h:81</a></div></div> |
246 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a8dc932d6b0f56ac40a392c019353368a"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a8dc932d6b0f56ac40a392c019353368a">siscone_spherical::CSphtheta_phi_range::CSphtheta_phi_range</a></div><div·class="ttdeci">CSphtheta_phi_range()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8cpp_source.html#l00054">geom_2d.cpp:54</a></div></div> | 245 | <div·class="ttc"·id="aclasssiscone__spherical_1_1CSphtheta__phi__range_html_a8dc932d6b0f56ac40a392c019353368a"><div·class="ttname"><a·href="classsiscone__spherical_1_1CSphtheta__phi__range.html#a8dc932d6b0f56ac40a392c019353368a">siscone_spherical::CSphtheta_phi_range::CSphtheta_phi_range</a></div><div·class="ttdeci">CSphtheta_phi_range()</div><div·class="ttdoc">default·ctor</div><div·class="ttdef"><b>Definition</b>·<a·href="spherical_2geom__2d_8cpp_source.html#l00054">geom_2d.cpp:54</a></div></div> |
Offset 175, 24 lines modified | Offset 175, 20 lines modified | ||
175 | CSphtheta_phi_range·&r2){ | 175 | CSphtheta_phi_range·&r2){ |
176 | 167·CSphtheta_phi_range·tmp; | 176 | 167·CSphtheta_phi_range·tmp; |
177 | 168 | 177 | 168 |
178 | 169·//·compute·union·in·eta | 178 | 169·//·compute·union·in·eta |
179 | 170·tmp.theta_range·=·r1.theta_range·|·r2.theta_range; | 179 | 170·tmp.theta_range·=·r1.theta_range·|·r2.theta_range; |
180 | 171 | 180 | 171 |
181 | 172·//·compute·union·in·phi | 181 | 172·//·compute·union·in·phi |
182 | 173·tmp. | 182 | 173·tmp.phi_range·=·r1.phi_range·|·r2.phi_range; |
183 | 174 | 183 | 174 |
184 | 175·return·tmp; | 184 | 175·return·tmp; |
185 | 176} | 185 | 176} |
186 | 177 | 186 | 177 |
187 | 178} | 187 | 178} |
188 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8:_\x8:_\x8C_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e | ||
189 | unsigned·int·phi_range | ||
190 | phi·range·as·a·binary·coding·of·covered·cells | ||
191 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x81_\x84_\x86 | ||
192 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8s_\x8p_\x8h_\x8e_\x8r_\x8i_\x8c_\x8a_\x8l_\x8:_\x8:_\x8C_\x8S_\x8p_\x8h_\x8t_\x8h_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e | 188 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8s_\x8p_\x8h_\x8e_\x8r_\x8i_\x8c_\x8a_\x8l_\x8:_\x8:_\x8C_\x8S_\x8p_\x8h_\x8t_\x8h_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e |
193 | class·for·holding·a·covering·range·in·eta-phi | 189 | class·for·holding·a·covering·range·in·eta-phi |
194 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x85_\x82 | 190 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8h_\x8:_\x85_\x82 |
195 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8s_\x8p_\x8h_\x8e_\x8r_\x8i_\x8c_\x8a_\x8l_\x8:_\x8:_\x8C_\x8S_\x8p_\x8h_\x8t_\x8h_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8a_\x8d_\x8d_\x8__\x8p_\x8a_\x8r_\x8t_\x8i_\x8c_\x8l_\x8e | 191 | _\x8s_\x8i_\x8s_\x8c_\x8o_\x8n_\x8e_\x8__\x8s_\x8p_\x8h_\x8e_\x8r_\x8i_\x8c_\x8a_\x8l_\x8:_\x8:_\x8C_\x8S_\x8p_\x8h_\x8t_\x8h_\x8e_\x8t_\x8a_\x8__\x8p_\x8h_\x8i_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8:_\x8:_\x8a_\x8d_\x8d_\x8__\x8p_\x8a_\x8r_\x8t_\x8i_\x8c_\x8l_\x8e |
196 | int·add_particle(const·double·theta,·const·double·phi) | 192 | int·add_particle(const·double·theta,·const·double·phi) |
197 | add·a·particle·to·the·range | 193 | add·a·particle·to·the·range |
198 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x83_\x80 | 194 | D\x8De\x8ef\x8fi\x8in\x8ni\x8it\x8ti\x8io\x8on\x8n·_\x8g_\x8e_\x8o_\x8m_\x8__\x82_\x8d_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x83_\x80 |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2025-01-07·11:57:28.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-01-07·11:57:28.000000·debian-binary |
2 | -rw-r--r--···0········0········0······808·2025-01-07·11:57:28.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0······808·2025-01-07·11:57:28.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0··16 | 3 | -rw-r--r--···0········0········0··1654148·2025-01-07·11:57:28.000000·data.tar.xz |
Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
1 | Package:·siscone-doc-pdf | 1 | Package:·siscone-doc-pdf |
2 | Source:·siscone | 2 | Source:·siscone |
3 | Version:·3.0.5-3 | 3 | Version:·3.0.5-3 |
4 | Architecture:·all | 4 | Architecture:·all |
5 | Maintainer:·Debian·Science·Maintainers·<debian-science-maintainers@lists.alioth.debian.org> | 5 | Maintainer:·Debian·Science·Maintainers·<debian-science-maintainers@lists.alioth.debian.org> |
6 | Installed-Size:·16 | 6 | Installed-Size:·1626 |
7 | Section:·doc | 7 | Section:·doc |
8 | Priority:·optional | 8 | Priority:·optional |
9 | Multi-Arch:·foreign | 9 | Multi-Arch:·foreign |
10 | Homepage:·http://projects.hepforge.org/siscone/ | 10 | Homepage:·http://projects.hepforge.org/siscone/ |
11 | Description:·Developer's·reference·manual·of·SISCone·(PDF) | 11 | Description:·Developer's·reference·manual·of·SISCone·(PDF) |
12 | ·SISCone·implements·a·Seedless·Infrared·(IR)·Safe·Cone·jet·algorithm,·it·takes | 12 | ·SISCone·implements·a·Seedless·Infrared·(IR)·Safe·Cone·jet·algorithm,·it·takes |
13 | ·N^2*ln(N)·time·to·find·jets·among·N·particles,·comparing·to·N*2^N·time·of | 13 | ·N^2*ln(N)·time·to·find·jets·among·N·particles,·comparing·to·N*2^N·time·of |
Offset 3, 10 lines modified | Offset 3, 10 lines modified | ||
3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/ | 3 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/ |
4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/doc/ | 4 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/doc/ |
5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-pdf/ | 5 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-pdf/ |
6 | -rw-r--r--···0·root·········(0)·root·········(0)·····1083·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-pdf/changelog.Debian.gz | 6 | -rw-r--r--···0·root·········(0)·root·········(0)·····1083·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-pdf/changelog.Debian.gz |
7 | -rw-r--r--···0·root·········(0)·root·········(0)····16688·2020-04-24·08:56:01.000000·./usr/share/doc/siscone-doc-pdf/changelog.gz | 7 | -rw-r--r--···0·root·········(0)·root·········(0)····16688·2020-04-24·08:56:01.000000·./usr/share/doc/siscone-doc-pdf/changelog.gz |
8 | -rw-r--r--···0·root·········(0)·root·········(0)·····1151·2025-01-07·11:56:31.000000·./usr/share/doc/siscone-doc-pdf/copyright | 8 | -rw-r--r--···0·root·········(0)·root·········(0)·····1151·2025-01-07·11:56:31.000000·./usr/share/doc/siscone-doc-pdf/copyright |
9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-pdf/pdf/ | 9 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-pdf/pdf/ |
10 | -rw-r--r--···0·root·········(0)·root·········(0)··16 | 10 | -rw-r--r--···0·root·········(0)·root·········(0)··1634098·2025-01-07·11:57:28.000000·./usr/share/doc/siscone-doc-pdf/pdf/refman.pdf.gz |
11 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/doc-base/ | 11 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-07·11:57:28.000000·./usr/share/doc-base/ |
12 | -rw-r--r--···0·root·········(0)·root·········(0)······240·2025-01-07·11:56:31.000000·./usr/share/doc-base/siscone-doc-pdf.siscone-pdf | 12 | -rw-r--r--···0·root·········(0)·root·········(0)······240·2025-01-07·11:56:31.000000·./usr/share/doc-base/siscone-doc-pdf.siscone-pdf |
Offset 1577, 15 lines modified | Offset 1577, 15 lines modified | ||
1577 | 4.33.2.2·∼hash_cones()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·166 | 1577 | 4.33.2.2·∼hash_cones()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·166 |
1578 | 4.33.3·Member·Function·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·166 | 1578 | 4.33.3·Member·Function·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·166 |
1579 | 4.33.3.1·insert()·[1/2]·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·166 | 1579 | 4.33.3.1·insert()·[1/2]·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·166 |
1580 | 4.33.3.2·insert()·[2/2]·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·166 | 1580 | 4.33.3.2·insert()·[2/2]·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·166 |
1581 | 4.33.3.3·is_inside()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·167 | 1581 | 4.33.3.3·is_inside()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·167 |
1582 | 4.33.4·Member·Data·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·167 | 1582 | 4.33.4·Member·Data·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·167 |
1583 | 4.33.4.1·hash_array·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·167 | 1583 | 4.33.4.1·hash_array·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·167 |
1584 | 4.33.4.2·mask·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·16 | 1584 | 4.33.4.2·mask·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·167 |
1585 | 4.33.4.3·n_cones·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·168 | 1585 | 4.33.4.3·n_cones·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·168 |
1586 | 4.33.4.4·R2·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·168 | 1586 | 4.33.4.4·R2·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·168 |
1587 | 4.34·siscone::hash_element·Class·Reference | 1587 | 4.34·siscone::hash_element·Class·Reference |
1588 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·168 | 1588 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·168 |
1589 | 4.34.1·Detailed·Description·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·169 | 1589 | 4.34.1·Detailed·Description·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·169 |
Offset 1600, 25 lines modified | Offset 1600, 25 lines modified | ||
1600 | \xcxiv | 1600 | \xcxiv |
1601 | 4.35·siscone::ranlux_state_t·Struct·Reference·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 | 1601 | 4.35·siscone::ranlux_state_t·Struct·Reference·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 |
1602 | 4.35.1·Detailed·Description·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 | 1602 | 4.35.1·Detailed·Description·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 |
1603 | 4.35.2·Member·Data·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 | 1603 | 4.35.2·Member·Data·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 |
1604 | 4.35.2.1·carry·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 | 1604 | 4.35.2.1·carry·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 |
1605 | 4.35.2.2·i·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·17 | 1605 | 4.35.2.2·i·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·170 |
1606 | 4.35.2.3·j·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 | 1606 | 4.35.2.3·j·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 |
1607 | 4.35.2.4·n·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 | 1607 | 4.35.2.4·n·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 |
1608 | 4.35.2.5·skip | 1608 | 4.35.2.5·skip |
1609 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 | 1609 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 |
1610 | 4.35.2.6·u·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 | 1610 | 4.35.2.6·u·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 |
1611 | 4.36·siscone_spherical::sph_hash_cones·Class·Reference | 1611 | 4.36·siscone_spherical::sph_hash_cones·Class·Reference |
1612 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·17 | 1612 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·171 |
1613 | 4.36.1·Detailed·Description·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 | 1613 | 4.36.1·Detailed·Description·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 |
1614 | 4.36.2·Constructor·&·Destructor·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 | 1614 | 4.36.2·Constructor·&·Destructor·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 |
1615 | 4.36.2.1·sph_hash_cones()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 | 1615 | 4.36.2.1·sph_hash_cones()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 |
1616 | 4.36.2.2·∼sph_hash_cones()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 | 1616 | 4.36.2.2·∼sph_hash_cones()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 |
1617 | 4.36.3·Member·Function·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 | 1617 | 4.36.3·Member·Function·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 |
1618 | 4.36.3.1·insert()·[1/2]·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 | 1618 | 4.36.3.1·insert()·[1/2]·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·173 |
Offset 1635, 35 lines modified | Offset 1635, 35 lines modified | ||
1635 | 4.37.2.1·centre·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·177 | 1635 | 4.37.2.1·centre·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·177 |
1636 | 4.37.2.2·is_stable·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·177 | 1636 | 4.37.2.2·is_stable·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·177 |
1637 | 4.37.2.3·next·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·177 | 1637 | 4.37.2.3·next·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·177 |
1638 | 5·File·Documentation | 1638 | 5·File·Documentation |
1639 | 179 | 1639 | 179 |
1640 | 5.1· | 1640 | 5.1·area.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·179 |
1641 | 5.2·area.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·180 | ||
1642 | 5.3·main.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·184 | ||
1641 | 5. | 1643 | 5.4·options.cpp |
1642 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·18 | 1644 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·186 |
1643 | 5. | 1645 | 5.5·options.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·189 |
1644 | 5. | 1646 | 5.6·sample.cpp |
1645 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·18 | 1647 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·189 |
1646 | 5. | 1648 | 5.7·spherical.cpp |
1647 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·1 | 1649 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·191 |
1648 | 5. | 1650 | 5.8·test.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·192 |
1649 | 5. | 1651 | 5.9·times.cpp |
1650 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·1 | 1652 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·193 |
1651 | 5.8·area.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·189 | ||
1652 | 5.9·area.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·191 | ||
1653 | 5.10·area.h | 1653 | 5.10·area.h |
1654 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·195 | 1654 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·195 |
1655 | 5.11·circulator.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·196 | 1655 | 5.11·circulator.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·196 |
1656 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by·Doxygen | 1656 | Generated·on·Tue·Jan·7·2025·11:57:28·for·SISCone·by·Doxygen |
Offset 1683, 66 lines modified | Offset 1683, 66 lines modified | ||
1683 | 5.14.1.4·PT_TSHOLD | 1683 | 5.14.1.4·PT_TSHOLD |
1684 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·201 | 1684 | .·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·201 |
1685 | 5.14.2·Variable·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·201 | 1685 | 5.14.2·Variable·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·201 |
1686 | 5.14.2.1·twopi·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·201 | 1686 | 5.14.2.1·twopi·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·201 |
1687 | 5.15·defines.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·201 | 1687 | 5.15·defines.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·201 |
1688 | 5.16·hash.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·202 | ||
1689 | 5.17·hash.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·203 | ||
1690 | 5.1 | 1688 | 5.16·protocones.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·202 |
1691 | 5.1 | 1689 | 5.17·protocones.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·212 |
1692 | 5.20·momentum.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·209 | ||
1693 | 5.21·momentum.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·211 | ||
1694 | 5. | 1690 | 5.18·quadtree.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·221 |
1695 | 5. | 1691 | 5.19·quadtree.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·225 |
1696 | 5.2 | 1692 | 5.20·ranlux.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·226 |
1697 | 5.2 | 1693 | 5.21·siscone/ranlux.h·File·Reference·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·228 |
1698 | 5.2 | 1694 | 5.21.1·Function·Documentation·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·228 |
1699 | 5.2 | 1695 | 5.21.1.1·ranlux_get()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·228 |
1700 | 5.2 | 1696 | 5.21.1.2·ranlux_init()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·228 |
1701 | 5.2 | 1697 | 5.21.1.3·ranlux_print_state()·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·229 |
1702 | 5.2 | 1698 | 5.22·ranlux.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·229 |
1703 | 5.2 | 1699 | 5.23·reference.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·229 |
1704 | 5.2 | 1700 | 5.24·reference.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·231 |
1705 | 5.29·siscone.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·223 | ||
1706 | 5.30·siscone.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·224 | ||
1707 | 5. | 1701 | 5.25·siscone_error.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·232 |
1708 | 5. | 1702 | 5.26·siscone_error.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·232 |
1709 | 5. | 1703 | 5.27·geom_2d.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·233 |
1710 | 5. | 1704 | 5.28·geom_2d.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·235 |
1705 | 5.29·geom_2d.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·237 | ||
1711 | 5.3 | 1706 | 5.30·geom_2d.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·238 |
1712 | 5.36·geom_2d.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·232 | ||
1713 | 5.3 | 1707 | 5.31·hash.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·239 |
1714 | 5.3 | 1708 | 5.32·hash.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·242 |
1709 | 5.33·hash.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·244 | ||
1710 | 5.34·hash.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·245 | ||
1711 | 5.35·momentum.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·246 | ||
1712 | 5.36·momentum.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·248 | ||
1713 | 5.37·momentum.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·252 | ||
1714 | 5.38·momentum.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·253 | ||
1715 | 5.39·protocones. | 1715 | 5.39·protocones.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·255 |
1716 | 5.40·protocones.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·247 | ||
1717 | 5.4 | 1716 | 5.40·protocones.h·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·257 |
1718 | 5.4 | 1717 | 5.41·siscone.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·259 |
1718 | 5.42·siscone.cpp·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·.·263 | ||
Max diff block lines reached; 379081/392597 bytes (96.56%) of diff not shown. |